import { type RefObject } from 'react'; import type { EditorInitialFocus } from './calendar.model'; /** * Runs `run` once the node's rail entrance has settled, so a focus scroll * never fights the motion. A node that is absent is a silent no-op. * Returns the cancel. */ export declare function whenRailSettled(getNode: () => HTMLElement | null | undefined, run: (node: HTMLElement) => void): () => void; /** * Lands the editor on one field once its panel has settled. No field, an * absent field or a disabled one leaves focus where it was, silently. */ export declare function useEditorInitialFocus(field: EditorInitialFocus | undefined, fields: Record>): void; //# sourceMappingURL=calendar-rail-settle.d.ts.map