import * as React from 'react'; import { GetClasses } from '../../typeUtils'; import { BaseFormElement } from '../_private/forms'; export declare const ToggleStylesKey = "ChromaToggle"; export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"input" | "label" | "error" | "root" | "required" | "inputInverse" | "labelContainer" | "labelInverse" | "srOnly" | "requiredInverse" | "message" | "rootRight" | "labelContainerRight" | "labelContainerFullWidth" | "labelFullWidth">; export declare type ToggleClasses = GetClasses; export interface ToggleProps extends BaseFormElement { fullWidth?: boolean; placement?: 'left' | 'right'; } /** * A toggle component for form usage. This is similar to Checkbox, but a different * style. Under the covers, this is an input element with `type="checkbox"`. * * ### Accessibility * * - The label and input are "connected" via a uniqueId and the `for` + `id` * attributes. * - The component has `type="checkbox"`. * - The component uses a uniqueId to link the input to the help and error messages * via `aria-describedby`. This allows screenreaders to read the help and error * messages. * * ### Links * * - [Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/Toggle/Toggle.tsx) * - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/Toggle/Toggle.stories.tsx) */ export declare const Toggle: React.ForwardRefExoticComponent>;