import { ReactElement, ReactNode } from 'react'; /** * Stable Switch prop surface for this package. * * HeroUI's `SwitchRootProps` can collapse (no `children`) when * `@heroui/styles` fails to resolve. This wrapper keeps an explicit * public contract and casts through to HeroUI at the boundary. */ export interface HeroSwitchProps { "aria-label"?: string; children?: ReactNode; className?: string; isDisabled?: boolean; isSelected?: boolean; onChange?: (isSelected: boolean) => void; } interface HeroSwitchPartProps { children?: ReactNode; className?: string; } declare function HeroSwitchRoot(props: HeroSwitchProps): ReactElement; declare function HeroSwitchContent(props: HeroSwitchPartProps): ReactElement; declare function HeroSwitchControl(props: HeroSwitchPartProps): ReactElement; declare function HeroSwitchThumb(props: HeroSwitchPartProps): ReactElement; export declare const HeroSwitch: typeof HeroSwitchRoot & { Content: typeof HeroSwitchContent; Control: typeof HeroSwitchControl; Thumb: typeof HeroSwitchThumb; }; export {};