interface Opts {
    cleanup: 'next-effect' | 'unmount';
}
/**
 * Will return set  timeout as a function which will clean itself up.
 */
export declare const useSetTimeout: (opts?: Opts) => ((handler: Function, timeout?: number | undefined, ...args: any[]) => void);
export {};
