import type { UserEvents } from '../../core/user-events';
import type { QueryOptions } from '../types';
import type { TinVerificationRequest, TinVerificationResponse } from './tinVerification.types';
export type QueryKeyVerifyTin = ['verifyTin', TinVerificationRequest | undefined];
/**
 * Supports querying declaratively (`useVerifyTin` hook) and imperatively
 * (`queryClient.fetchQuery()`) with the same config, ensuring no deviation occurs
 * between the two types.
 */
export declare const verifyTinQueryOptions: (rootLegalEntityId: string, baseUrl: string, data: TinVerificationRequest, userEvents: UserEvents, options?: QueryOptions<TinVerificationResponse>) => import("@tanstack/preact-query").UseQueryOptions<{
    matched?: boolean;
}, Error, {
    matched?: boolean;
}, import("../queryKeys").QueryKey> & {
    initialData?: {
        matched?: boolean;
    } | import("@tanstack/preact-query").InitialDataFunction<{
        matched?: boolean;
    }> | undefined;
} & {
    queryKey: ([] & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../adaptive/useAdaptiveWorkflow").QueryKeyAdaptiveWorkflow & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../termsOfService/useAcceptedTermsOfService").QueryKeyAcceptedTermsOfService & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../address/useAddressCleanse").QueryKeyAddressCleanse & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../uiAnalytics/useAnalyticsSession").QueryKeyAnalyticsSession & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../transferInstruments/transferInstruments.types").QueryKeyBankVerificationProviders & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../businessLines/useBusinessLines").QueryKeyBusinessLines & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../companyDataSet/handleCompanyDataset").QueryKeyCompanyDataset & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../companySearch/useCompanySearch").QueryKeyCompanySearch & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../documents/useDocument").QueryKeyDocument & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../documents/useDocuments").QueryKeyDocuments & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../documentValidation/useDocumentValidate").QueryKeyDocumentValidation & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../idNowProvider/useIdNowProvider").QueryKeyIdNowProviderIdentificationStatus & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../idNowProvider/useIdNowProvider").QueryKeyIdNowProviderStartIdentification & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../idVerificationProviders/useIdVerificationToken").QueryKeyIdVerificationToken & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../industryCodes/useIndustryCodes").QueryKeyIndustryCodes & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../invitations/useInvitationStatus").QueryKeyInvitationStatus & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../invitedEntity/useInvitedEntityAssociationData").QueryKeyInvitedEntityAssociationData & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../legalEntity/useLegalEntity").QueryKeyLegalEntity & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../datasets/useLegalForms").QueryKeyLegalForms & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../datasets/useNaceCodes").QueryKeyNaceCodes & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../onboardingStatus/useOnboardingStatus").QueryKeyOnboardingStatus & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../openId/useOpenIdAuthorizationLink").QueryKeyOpenIdAuthorizationLink & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../pci/usePciQuestionnaireList").QueryKeyPciQuestionnaireList & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../pci/usePciStatus").QueryKeyPciStatus & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../pci/usePciTemplate").QueryKeyPciTemplate & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../providersConfiguration/useProviderStatus").QueryKeyProvidersStatus & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../address/useRetrieveAddress").QueryKeyRetrieveAddress & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../configurations/useScenarios").QueryKeyScenarios & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../address/useSearchAddress").QueryKeySearchAddress & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../datasets/useSourceOfFundsTypes").QueryKeySourceOfFundsTypes & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../configurations/useSupportedCountries").QueryKeySupportedCountries & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../taskStatus/useTaskStatus").QueryKeyTaskStatus & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../taskStatus/useTaskStatuses").QueryKeyTaskStatuses & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../configurations/useTaskTypes").QueryKeyTaskTypes & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../taxClassification/useTaxClassification").QueryKeyTaxClassification & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../termsOfService/useTermsOfService").QueryKeyTermsOfService & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../termsOfService/useTermsOfServiceAcceptanceInfos").QueryKeyTermsOfServiceAcceptanceInfos & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../termsOfService/useTermsOfServiceStatus").QueryKeyTermsOfServiceStatus & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../toggles/useToggles").QueryKeyToggles & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../transferInstruments/useTransferInstrument").QueryKeyTransferInstrument & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../transferInstruments/useTransferInstruments").QueryKeyTransferInstruments & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../transferInstruments/useUpdateTrustedTransferInstrument").QueryKeyTrustedTransferInstrument & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../validation/useValidatePhoneNumber").QueryKeyValidatePhoneNumber & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (QueryKeyVerifyTin & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../configurations/useVersionConfiguration").QueryKeyVersionConfiguration & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    }) | (import("../invitedEntity/useInvitedEntityRootCapabilities").QueryKeyInvitedEntityRootCapabilities & {
        [dataTagSymbol]: {
            matched?: boolean;
        };
        [dataTagErrorSymbol]: Error;
    });
};
export declare const useVerifyTin: (data: TinVerificationRequest, options?: QueryOptions<TinVerificationResponse>) => import("@tanstack/preact-query").UseQueryResult<{
    matched?: boolean;
}, Error>;
export declare const verifyTin: (legalEntityId: string, baseUrl: string, data: TinVerificationRequest) => Promise<TinVerificationResponse>;
