import { ppqn } from "@opendaw/lib-dsp";
import { int } from "@opendaw/lib-std";
import { TimelineRange } from "./TimelineRange";
import { SignatureTrackAdapter } from "@opendaw/studio-adapters";
export declare namespace TimeGrid {
    type Signature = [int, int];
    type Options = {
        minLength?: number;
        snapInterval?: ppqn;
    };
    type Fragment = {
        bars: int;
        beats: int;
        ticks: int;
        isBar: boolean;
        isBeat: boolean;
        pulse: number;
    };
    type Designer = (fragment: Fragment) => void;
    const fragment: (signatureTrack: SignatureTrackAdapter, range: TimelineRange, designer: Designer, options?: Options) => void;
}
//# sourceMappingURL=TimeGrid.d.ts.map