import type { Ref } from '@stacksjs/stx'; /** * Call a function after a timeout. * Provides start/stop controls and auto-cleanup on unmount. * * @param cb - The callback to invoke after the timeout * @param interval - Timeout duration in milliseconds (default 1000) * @param options - Configuration options (immediate defaults to true) * @returns Controls to start, stop, and check pending state */ export declare function useTimeoutFn(cb: () => void, interval?: number, options?: { immediate?: boolean }): UseTimeoutFnReturn; declare interface UseTimeoutFnReturn { start: () => void stop: () => void isPending: Ref }