/// /** * Sometimes we want the user to control and watch the isOpen / active state of a component * @param [controlledBoolean] The boolean to set the (initial) state * @param [onSetBoolean] Function This will be called as soon as the state is changed */ declare const useOptionalControlledState: (controlledBoolean?: boolean | undefined, onSetBoolean?: Function | undefined) => readonly [boolean, import("react").Dispatch>]; export default useOptionalControlledState; //# sourceMappingURL=useOptionalControlledState.d.ts.map