export declare function useState(initial: T): ((val: T | ((prev: T) => T)) => void)[];