import type { TermsOfServiceDocumentFormat } from '../../core/models/api/contracts'; import type { QueryOptions } from '../types'; import type { AcceptedTermsOfServiceResponse } from './termsOfService.types'; /** * Variables: * * `termsOfServiceAcceptanceReference` */ export type QueryKeyAcceptedTermsOfService = [ 'acceptedTermsOfService', string | undefined, TermsOfServiceDocumentFormat ]; export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat: TermsOfServiceDocumentFormat, options?: QueryOptions) => import("@tanstack/preact-query").UseQueryResult<{ document?: string; id?: string; termsOfServiceAcceptanceReference?: string; termsOfServiceDocumentFormat?: "JSON" | "PDF"; }, Error>;