import type { SnovDominiosResponse, SnovEmailsResponse, SnovEnrichmentStatus, SnovMeta, SnovTomador } from '@/@types/domain/snovTypes'; import type { EmpresaEnrichmentEntry, SocioFetchStatus } from '../utils/snov/mergeSnovEnrichment'; export type EnrichmentStep = 'idle' | 'dominios' | 'emails' | 'linkedinEmpresa' | 'socios' | 'empresas'; /** Etapas exibidas no modal de override de domínio */ export type DomainEnrichmentStep = Exclude; export type PartnerForEnrichment = { nome: string; cpf?: string; }; export type PartnerEmpresaForEnrichment = { nome: string; cnpj: string; }; export type SnovEnrichmentContextValue = { documento: string; dominios: SnovDominiosResponse | null; selectedDomain: string | null; emails: SnovEmailsResponse | null; linkedinEmpresa: string | null; linkedinEmpresaSize: string | null; linkedinPessoa: string | null; linkedinPessoaBlocked: boolean; /** Mantém a subseção _LinkedIn da empresa_ visível após o pipeline CNPJ iniciar. */ showLinkedinEmpresaField: boolean; /** `true` enquanto o LINKEDINEMPRESA ainda não terminou (inclui fila antes do disparo). */ isLinkedinEmpresaLoading: boolean; /** `true` após resposta terminal do LINKEDINEMPRESA (com ou sem URL). */ linkedinEmpresaLookupDone: boolean; enrichmentStatus: SnovEnrichmentStatus; snovMeta: SnovMeta | null; isEnrichmentLoading: boolean; enrichmentStep: EnrichmentStep; domainEnrichmentError: string | null; runDomainEnrichment: (domain: string) => Promise; runSocioEnrichment: (partner: PartnerForEnrichment) => Promise; loadingSocioKey: string | null; socioEnrichment: Record; socioFetchStatus: Record; empresaEnrichment: Record; empresaFetchStatus: Record; loadingEmpresaKey: string | null; registerPartnersForEnrichment: (partners: PartnerForEnrichment[]) => void; registerEmpresasForEnrichment: (partners: PartnerEmpresaForEnrichment[]) => void; openDomainModal: () => void; closeDomainModal: () => void; isDomainModalOpen: boolean; registerAllowedDomains: (domains: string[]) => void; }; export declare const EMPTY_SNOV_CONTEXT: SnovEnrichmentContextValue; export declare const SnovEnrichmentContext: import("react").Context;