/**
 * Toggle component
 * A wrapper around the react-aria Switch component: https://react-spectrum.adobe.com/react-aria/Switch.html#switch
 * Controlled component
 */
import React from 'react';
import './Toggle.scss';
export interface ToggleProps {
    label?: string;
    value: boolean;
    onChange?: (value: boolean) => void;
    disabled?: boolean;
    size?: 'small' | '' | 'large';
    children?: React.ReactNode;
}
/**
 * Toggle component
 * @param {ToggleProps} props
 * @param {boolean} props.value - The value of the toggle, true or false
 * @param {string} [props.label] - [optional] The label of the toggle
 * @param props.onChange - The function to call when the toggle is clicked
 * @param {boolean} props.disabled - Whether the toggle is disabled
 * @param {'small' | '' | 'large'} props.size - The size of the toggle, 'small', 'large' or ""
 * @returns
 */
export declare const Toggle: (props: ToggleProps) => import("react/jsx-runtime").JSX.Element;
export default Toggle;
