import type { Ref } from '@stacksjs/stx'; export declare function useTimeout(interval?: number, options?: { controls?: false, immediate?: boolean }): Ref; export declare function useTimeout(interval?: number, options?: UseTimeoutOptions): Ref | UseTimeoutControls; declare interface UseTimeoutControls { ready: Ref start: () => void stop: () => void } declare interface UseTimeoutOptions { controls?: boolean immediate?: boolean }