import type { InputHTMLAttributes, ReactNode } from 'react'; import type { DefaultProps, LabelRequired } from '../../types'; import type { MergeRight } from '../../utilities'; import { type FieldProps } from '../field'; import { type InputProps } from '../input/input'; export type SwitchProps = MergeRight, 'size' | 'type'>, { /** * Optional aria-label */ 'aria-label'?: string; /** * Switch label */ label?: ReactNode; /** * Description for field */ description?: ReactNode; /** * Value of the `input` element */ value?: InputProps['value']; /** * Position of switch * @default start */ position?: FieldProps['position']; } & LabelRequired>; /** * Switch used to toggle options. * * @example * */ export declare const Switch: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=switch.d.ts.map