import type { ReactNode } from 'react';
import type { InputProps, SelectProps, FormControlProps, FormLabelProps } from '@chakra-ui/react';
import type { FieldError, FieldErrorsImpl, Merge } from 'react-hook-form';
type DefaultControlProps = FormControlProps & FormLabelProps & {
    label: ReactNode;
    helper?: ReactNode;
    error?: string | boolean | FieldError | Merge<FieldError, FieldErrorsImpl<any>>;
    rules?: Record<string, any>;
};
export type InputControlProps = InputProps & DefaultControlProps & {
    mask?: string;
};
export type SelectControlProps = SelectProps & DefaultControlProps & {
    list?: Record<string | number, any>;
};
export type CardInputControlProps = InputControlProps & {
    icon?: 'left' | 'right';
    theme?: Record<string, any>;
};
export {};
