export type TimerOptions = { initial?: T; delay?: number; disabled?: boolean; /** Called on each interval tick. Returned value is used to update store value, defaulting to current Date */ onTick?: (current: T | null) => any; }; /** * Subscribable timer store */ export default function timerStore(options?: TimerOptions): { start: () => void; stop: () => void; reset: () => void; isRunning: import("svelte/store").Writable; getDelay: () => number; setDelay: (value: number) => void; set(this: void, value: T | null): void; update(this: void, updater: import("svelte/store").Updater): void; subscribe(this: void, run: import("svelte/store").Subscriber, invalidate?: () => void): import("svelte/store").Unsubscriber; }; //# sourceMappingURL=timerStore.d.ts.map