import type { Dispatch, StateUpdater } from 'preact/hooks';
export declare function useDebouncedState<T>(wait: number): [T | undefined, Dispatch<StateUpdater<T | undefined>>];
export declare function useDebouncedState<T>(wait: number, initialState?: T | (() => T)): [T, Dispatch<StateUpdater<T>>];
