import { type MutationOptions } from '@tanstack/react-query';
import type { components } from '#api/termsOfService/termsOfService.contract';
import type { ServiceAgreementSignResponse } from '../../core/models/api/contracts';
type Request = components['schemas']['AcceptTermsOfServiceRequest'];
type SuccessResponse = ServiceAgreementSignResponse;
export declare const acceptTermsOfService: (legalEntityId: string, url: string, termsOfServiceDocumentId: string, data: Request) => Promise<SuccessResponse>;
export declare const useAcceptTermsOfService: (options?: Omit<MutationOptions<SuccessResponse, unknown, Request>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<ServiceAgreementSignResponse, unknown, {
    acceptedBy: string;
    legalEntityReference: string;
    termsOfServiceDocumentId: string;
}, unknown>;
export {};
