export declare const useSwitch: (initialValue?: boolean) => readonly [boolean, (state?: boolean | undefined) => void];