import React from 'react'; export interface SwitchProps extends Omit, 'size'> { /** * Switch content (for composable API) */ children?: React.ReactNode; /** * Switch size * @default 'md' */ size?: 'sm' | 'md'; } /** * Switch Component * * A versatile toggle switch component with label, validation states, and helper text. * Supports both composable API (recommended) and declarative API (deprecated). * * @public * * @example * ```tsx * // Composable API (recommended) * * * Enable notifications * You can change this later * * * ``` * * @remarks * - Composable API provides maximum flexibility and control * - All sub-components (SwitchInput, SwitchLabel, SwitchHelper, etc.) support `asChild` * - Supports checked and unchecked states with smooth animations * - Automatically generates accessible IDs for labels and error messages * - Accessible: includes ARIA attributes and keyboard navigation */ export declare const Switch: React.ForwardRefExoticComponent>; //# sourceMappingURL=Switch.d.ts.map