import { type SwitchProps as RACSwitchProps } from 'react-aria-components'; import type { AriaLabelingProps, CommonProps, StringLikeChildren } from '../types.js'; export interface SwitchProps extends CommonProps, AriaLabelingProps, Pick { /** The label rendered next to the switch. */ children?: StringLikeChildren; /** A description for the switch. Provides a hint such as specific requirements for which setting to choose. */ description?: string; /** * Controls where the label is rendered relative to the switch. * @default 'end' */ labelPosition?: 'top' | 'start' | 'end'; /** * Whether the switch should take up the whole available width. Enabling this option will add space between the switch and its label. * @default false */ fullWidth?: boolean; } /** * Allows users to turn a setting on or off. * * See [switch usage guidelines](https://ui.cimpress.io/components/switch/). */ declare const _Switch: (props: SwitchProps & import("react").RefAttributes & import("../../with-style-props.js").StyleProps) => import("react").JSX.Element | null; export { _Switch as Switch }; //# sourceMappingURL=switch.d.ts.map