import type { InputKeyRepeatOptions, InputKeyRepeatTimerRaw, InputRepeatCallback } from './types.ts'; /** * Drives the timer against the caller's clock (explicit-clock replacement for the source's real * timers). Fires every due tick in order: the delayed tick, then one tick per elapsed interval. */ export declare function advanceInputKeyRepeatTimer(timer: InputKeyRepeatTimerRaw, nowMs: number): void; /** * Allocates a reusable key-repeat timer from the supplied timings (TS * `createInputKeyRepeatTimer`). Timing is caller-driven; no real timer is created. */ export declare function createInputKeyRepeatTimer(options: Readonly): InputKeyRepeatTimerRaw; /** * Gives a timer under construction its timings and an inactive cycle (TS * `initializeInputKeyRepeatTimer`). */ export declare function initializeInputKeyRepeatTimer(out: InputKeyRepeatTimerRaw, options: Readonly): void; /** * Starts the repeat cycle at the caller's clock: invokes the callback immediately, then schedules * the delayed tick and the interval ticks (TS `InputKeyRepeatTimer.start`). */ export declare function startInputKeyRepeatTimer(timer: InputKeyRepeatTimerRaw, callback: InputRepeatCallback, nowMs: number): void; /** * Cancels the repeat cycle and drops its callback (TS `InputKeyRepeatTimer.stop`). */ export declare function stopInputKeyRepeatTimer(timer: InputKeyRepeatTimerRaw): void; //# sourceMappingURL=inputTimer.d.ts.map