import { DetailedHTMLProps, FocusEventHandler, HTMLAttributes, JSX } from 'react';
export interface ToggleProps {
    id?: string;
    name?: string;
    label?: string | JSX.Element;
    inputType: "radio" | "checkbox";
    orientation?: "left" | "right";
    value?: string;
    checked?: boolean;
    defaultChecked?: boolean;
    disabled?: boolean;
    className?: string;
    labelClassName?: string;
    inputProps?: Omit<DetailedHTMLProps<HTMLAttributes<HTMLInputElement>, HTMLInputElement>, "id" | "name" | "value" | "checked" | "defaultChecked" | "disabled" | "ref"> & {
        pattern?: string;
    };
    renderIcon: (checked: boolean) => JSX.Element;
    onChange?: (value?: boolean) => void;
    onFocus?: FocusEventHandler<HTMLInputElement>;
    onBlur?: FocusEventHandler<HTMLInputElement>;
}
export declare const Toggle: import('react').ForwardRefExoticComponent<ToggleProps & import('react').RefAttributes<HTMLInputElement>>;
