import { ComponentPropsWithRef, MouseEvent } from 'react'; import { UseMessageProps } from '../shared/types'; type HTMLButtonProps = ComponentPropsWithRef<'button'>; export type SwitchProps = HTMLButtonProps & UseMessageProps & { onClick: (event: MouseEvent) => void; pressed: boolean; label: string; layout?: 'default' | 'group'; hideLabel?: boolean; }; /** - `Switch` is a controlled component. It requires an `onClick` handler to update `pressed`. - `id` is required to associate the switch with the `label` and optional `message`. */ export declare const Switch: ({ hideLabel, label, layout, onClick, pressed, ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element; export default Switch;