type NotFunction = T extends (...args: never) => unknown ? never : T; export declare function useState(defaultValue: NotFunction | (() => Value)): [Value, (newValue: Value) => void]; export declare function useState(defaultValue?: NotFunction | (() => Value)): [Value | undefined, (newValue?: Value) => void]; export {};