import type { ButtonHTMLAttributes, ReactNode } from 'react';
import type { FormControlProps } from '../../utils/primitiveProps.js';
import type { SxProp } from '../Layout/sx.js';
interface SwitchRootProps extends Omit, 'value' | 'onChange' | 'checked' | 'defaultChecked' | 'type'>, FormControlProps {
/** Controlled checked state. */
checked?: boolean;
/** Uncontrolled initial checked state. */
defaultChecked?: boolean;
/** Fires when the checked state changes. */
onCheckedChange?: (checked: boolean) => void;
/** Value submitted with the form when checked. Default: `'on'`. */
value?: string;
}
export interface SwitchProps extends Omit {
children?: ReactNode;
/**
* One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a
* responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx
* merges into inline style; responsive sx injects a scoped class. Applied to
* the outer label wrapper, or the switch itself when there is no label.
*/
sx?: SxProp;
}
export declare const Switch: import("react").ForwardRefExoticComponent>;
export {};