import { TextInputProps } from '@mantine/core';
export declare function validateCPF(cpf: string): boolean;
export declare function validateCNPJ(cnpj: string): boolean;
export declare function formatCPF(cpf: string): string;
export declare function formatCNPJ(cnpj: string): string;
export type DocumentType = 'cpf' | 'cnpj' | 'unknown';
export declare function detectDocumentType(value: string): DocumentType;
export interface ArchbaseCpfCnpjInputProps extends Omit<TextInputProps, 'value' | 'onChange'> {
    /** Valor atual */
    value?: string;
    /** Callback ao mudar */
    onChange?: (value: string) => void;
    /** Tipo de documento (auto-detecta se não informado) */
    documentType?: 'cpf' | 'cnpj' | 'auto';
    /** Mostrar ícone de validação */
    showValidationIcon?: boolean;
    /** Callback ao validar */
    onValidate?: (isValid: boolean, type: DocumentType) => void;
}
export declare function ArchbaseCpfCnpjInput({ value, onChange, documentType, showValidationIcon, onValidate, ...props }: ArchbaseCpfCnpjInputProps): import("react/jsx-runtime").JSX.Element;
export default ArchbaseCpfCnpjInput;
