/** * One component's value, controlled by its parent or held by the component itself: the * mode is latched at mount (a `controlled` value then means controlled), the change * callback fires in both modes, and a controlled value cleared to undefined keeps the * last one the parent gave. Returns the value to render and the setter a press calls. */ export declare function useControllableState( /** The controlled value; undefined means "uncontrolled". */ controlled: T | undefined, /** Initial value for uncontrolled use. */ defaultValue: T, /** Change callback, fired in BOTH modes. */ onChange?: (next: T) => void): [T, (next: T) => void]; //# sourceMappingURL=use-controllable-state.d.ts.map