/// <reference types="react" />
import { IJsonSchema } from '../../types/IJsonSchema';
export declare type ToggleProps = {
    label?: string;
    value?: boolean;
    square?: boolean;
    sized?: string;
    /**
     * custom styling for swtich
     */
    css?: string;
    onChange: (change: boolean) => void;
    /**
     * schema for validation
     */
    jsonSchema?: IJsonSchema;
    name?: string;
};
export declare const Toggle: ({ label, value, css, onChange, jsonSchema, name, square, sized, }: ToggleProps) => JSX.Element;
