import { AccessibilityProps, KeyboardHandlerMap, TokenContract } from '../shared/index.js';

interface SwitchProps {
    checked?: boolean;
    disabled?: boolean;
    required?: boolean;
    name?: string;
    value?: string;
}
interface SwitchAPI {
    /** ARIA attributes to spread on the element */
    ariaProps: Partial<AccessibilityProps>;
    /** Keyboard handlers to attach */
    keyboardHandlers: KeyboardHandlerMap;
    /** Whether interaction should be blocked */
    isInteractive: boolean;
    /** Data attributes for CSS styling hooks */
    dataAttributes: Record<string, string>;
    /** Current state */
    state: {
        checked: boolean;
        disabled: boolean;
    };
}
declare function createSwitch(props?: SwitchProps): SwitchAPI;

declare const switchTokens: TokenContract;
declare const switchVariants: (props?: ({
    checked?: "true" | "false" | undefined;
    size?: "sm" | "default" | "lg" | undefined;
} & {
    className?: string;
}) | undefined) => string;
declare const switchThumbVariants: (props?: ({
    checked?: "true" | "false" | undefined;
    size?: "sm" | "default" | "lg" | undefined;
} & {
    className?: string;
}) | undefined) => string;

export { type SwitchAPI, type SwitchProps, createSwitch, switchThumbVariants, switchTokens, switchVariants };
