import { MovingHeadState } from "rust_native_module";

export type Time = {
  absolute: number,
  beatRelative: number | null,
};

export type PatternOutput = Array<MovingHeadState> | null;

export interface Pattern {
  render(time: Time): PatternOutput;
}
