export interface Actions { run: () => void; destroy: () => void; } export declare function useTimeout(fn: () => void, delay: number): Actions;