//#region src/react-hooks/useState.d.ts declare namespace useState { type StateUpdater = S | ((prev: S) => S); } declare function useState(): [S | undefined, (updater: useState.StateUpdater) => void]; declare function useState(initial: S | (() => S)): [S, (updater: useState.StateUpdater) => void]; //#endregion export { useState }; //# sourceMappingURL=useState.d.ts.map