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