/** * * * @module @sorrell/react/ControlledValue * * @file ControlledValue.ts * @author Gage Sorrell * @copyright (c) 2026 Gage Sorrell * @license MIT */ import * as React from "react"; /** * The argument of a setter function of a controlled value. * * @category Hook * @since 1.1.0 */ export type SetStateArg = (InitialState: A | (() => A)) => readonly [A, React.Dispatch>]; export declare const UseControlledBoolean: (Default: boolean | (() => boolean)) => readonly [boolean, { readonly Set: React.Dispatch>; readonly SetFalse: () => void; readonly SetTrue: () => void; }]; //# sourceMappingURL=ControlledValue.d.ts.map