import { FieldValues, UseFormReturn } from "react-hook-form";
import "./style.scss";
type Props<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues> = {
    attr: string;
    label: string;
    createdForm: UseFormReturn<TFieldValues, TContext, TTransformedValues>;
    disabled?: boolean;
    onChange?: (value: boolean) => void;
};
export default function SwitchField<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues>({ attr, label, createdForm, disabled, onChange, }: Props<TFieldValues, TContext, TTransformedValues>): import("react").JSX.Element;
export {};
