import { LabelHTMLAttributes, ReactNode, Ref } from 'react';
import { FieldError, FieldValues, UseFormRegister } from 'react-hook-form';
import { IComponentBaseProps } from '../types';
export declare const SWAP = "swap";
export type SwapProps = LabelHTMLAttributes & IComponentBaseProps & {
ref?: Ref;
onElement: ReactNode | ReactNode[];
offElement: ReactNode | ReactNode[];
active?: boolean;
rotate?: boolean;
flip?: boolean;
register?: UseFormRegister;
name: string;
disabled?: boolean;
error?: FieldError;
};