import { TextInputProps } from '@mantine/core';
export interface CepAddress {
    cep: string;
    state: string;
    city: string;
    neighborhood: string;
    street: string;
    service?: string;
}
export interface ArchbaseCepInputProps extends Omit<TextInputProps, 'value' | 'onChange' | 'onError'> {
    /** Valor atual */
    value?: string;
    /** Callback ao mudar */
    onChange?: (value: string) => void;
    /** Callback ao encontrar endereço */
    onAddressFound?: (address: CepAddress) => void;
    /** Callback em caso de erro */
    onCepError?: (error: Error) => void;
    /** Auto-buscar ao completar CEP */
    autoFetch?: boolean;
    /** Mostrar ícone de status */
    showStatusIcon?: boolean;
}
export declare function formatCep(cep: string): string;
export declare function ArchbaseCepInput({ value, onChange, onAddressFound, onCepError, autoFetch, showStatusIcon, ...props }: ArchbaseCepInputProps): import("react/jsx-runtime").JSX.Element;
export default ArchbaseCepInput;
