import type { UserEvents } from '../../core/user-events.d.ts'; 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) => import("@tanstack/preact-query").UseQueryOptions<{ matched?: boolean; }, Error, { matched?: boolean; }, import("../queryKeys").QueryKey> & { initialData?: { matched?: boolean; } | import("@tanstack/preact-query").InitialDataFunction<{ matched?: boolean; }> | undefined; } & import("@tanstack/preact-query").QueryKeyWithDataTag; export declare const useVerifyTin: (data: TinVerificationRequest, options?: QueryOptions) => import("@tanstack/preact-query").UseQueryResult<{ matched?: boolean; }, Error>; export declare const verifyTin: (legalEntityId: string, baseUrl: string, data: TinVerificationRequest) => Promise;