export type UpdateFunction = (newValue: T) => void; export declare function useState(...defaultValue: T extends undefined ? [defaultValue?: T] : [defaultValue: T]): [T, (newValue: T) => void]; //# sourceMappingURL=useState.d.ts.map