export interface CepData {
    cep: string;
    logradouro: string;
    complemento: string;
    bairro: string;
    localidade: string;
    uf: string;
    erro?: boolean;
}
interface UseCepResult {
    loading: boolean;
    error: string | null;
    fetchCep: (cep: string) => Promise<CepData | null>;
}
/**
 * Hook para buscar dados de endereço pela API ViaCEP
 *
 * @example
 * ```tsx
 * const { loading, error, fetchCep } = useCep();
 *
 * const handleCepChange = async (cep: string) => {
 *   const data = await fetchCep(cep);
 *   if (data) {
 *     setStreet(data.logradouro);
 *     setCity(data.localidade);
 *     setState(data.uf);
 *     setNeighborhood(data.bairro);
 *   }
 * };
 * ```
 */
export declare function useCep(): UseCepResult;
export {};
//# sourceMappingURL=useCep.d.ts.map