/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ type Styles = Record>; /** * Where a chip sits relative to the instant it marks. * * Centred through the middle of the track, and anchored INSIDE at either end. * The ruler clips (so a chip can never inflate the canvas's scroll width), and * this is what keeps the clip from ever having to cut the label: at the last * column the readout you are hovering to read is exactly the one that would * lose half its text. */ export declare function chipAnchor(frac: number): string; export interface PlanRulerProps { styles: Styles; gridTemplate: string; /** The gutter caption — the active grain's name (`RESOURCE`, the §1 mock). */ caption: string; /** The cursor readout chip's element — always mounted (hidden), written * DIRECTLY by the canvas's cursor controller (#609): label, position and * visibility are DOM writes, so a pointermove renders nothing. */ cursorChipRef?: React.Ref; } /** The ruler shares its adaptive time bands with Calendar. */ export declare function PlanRuler({ styles, gridTemplate, caption, cursorChipRef }: PlanRulerProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=Ruler.d.ts.map