import { DSControlledToggleT } from '@elliemae/ds-controlled-form';
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
export type ToggleProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
    name: string;
    defaultValue?: boolean;
    rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
} & Omit<DSControlledToggleT.Props, 'selectedValues' | 'onChange' | 'defaultValue'>;
export declare const Toggle: ({ name, defaultValue, rules, ...rest }: ToggleProps) => import("react/jsx-runtime").JSX.Element;
