import type { ComponentProps } from "react"; import type { DynamicStringEnumKeysOf, FlowbiteBoolean, FlowbiteColors, ThemingProps } from "../../types"; import type { TextInputSizes } from "../TextInput"; export interface ToggleSwitchTheme { root: ToggleSwitchRootTheme; toggle: ToggleSwitchToggleTheme; } export interface ToggleSwitchRootTheme { base: string; active: FlowbiteBoolean; label: string; input: string; } export interface ToggleSwitchToggleTheme { base: string; sizes: TextInputSizes; checked: FlowbiteBoolean & { color: FlowbiteColors; }; } export type ToggleSwitchProps = Omit, "onChange" | "ref"> & { checked: boolean; color?: DynamicStringEnumKeysOf; sizing?: DynamicStringEnumKeysOf; label?: string; onChange: (checked: boolean) => void; } & ThemingProps; export declare const ToggleSwitch: import("react").ForwardRefExoticComponent, HTMLButtonElement>, "onChange" | "ref"> & { checked: boolean; color?: DynamicStringEnumKeysOf; sizing?: DynamicStringEnumKeysOf; label?: string; onChange: (checked: boolean) => void; } & ThemingProps & import("react").RefAttributes>;