import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { TaxDocument, ListTaxDocumentsOptions, ListTaxDocumentsResponse, GenerateFileDownloadInfoResponse } from './index.typings.mjs'; export { AccountInfo, ActionEvent, ConfirmFileUploadedRequest, ConfirmFileUploadedResponse, CursorPaging, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FileUploadTarget, GenerateFileDownloadInfoRequest, GenerateFileUploadTargetRequest, GenerateFileUploadTargetResponse, GenerateHistoryFileDownloadInfoRequest, GenerateHistoryFileDownloadInfoResponse, GetTaxDocumentFileHistoryRequest, GetTaxDocumentFileHistoryResponse, GetTaxDocumentRequest, GetTaxDocumentResponse, IdentificationData, IdentificationDataIdOneOf, ListTaxDocumentsRequest, MessageEnvelope, PagingMetadataV2, RefreshTaxDocumentFileRequest, RefreshTaxDocumentFileResponse, RestoreInfo, SourceType, SourceTypeWithLiterals, TaxDocumentFileHistory, TaxDocumentFileHistoryRecord, TaxDocumentType, TaxDocumentTypeWithLiterals, TaxPeriod, TaxPeriodOptionsOneOf, UpdateTaxDocumentRequest, UpdateTaxDocumentResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, YearPeriod } from './index.typings.mjs'; declare function getTaxDocument$1(httpClient: HttpClient): GetTaxDocumentSignature; interface GetTaxDocumentSignature { /** * Retrieves a tax document by ID. * @param - ID of the tax document to retrieve. * @returns Retrieved tax document. */ (taxDocumentId: string): Promise>; } declare function listTaxDocuments$1(httpClient: HttpClient): ListTaxDocumentsSignature; interface ListTaxDocumentsSignature { /** * Retrieves a list of tax documents that belong to a Wix Payments account. * * You must specify the `accountId` of the account whose tax documents you want to retrieve. * * Tax documents are sorted in descending order by `period`, then by `createdDate`. * * When `type` is omitted, tax documents of all types are returned. * @param - ID of the Wix Payments account whose tax documents are retrieved. */ (accountId: string, options?: ListTaxDocumentsOptions): Promise>; } declare function generateFileDownloadInfo$1(httpClient: HttpClient): GenerateFileDownloadInfoSignature; interface GenerateFileDownloadInfoSignature { /** * Generates temporary information for downloading a tax document's file. * * The returned `downloadInfo.url` is a temporary link to a PDF. It expires 10 seconds after it's generated, so follow it immediately, and don't store it as a static link. Call this method again to get a fresh URL. * * The tax document must have a file available, meaning its `downloadable` field is `true`. * @param - ID of the tax document to download a file for. */ (taxDocumentId: string): Promise; } declare const getTaxDocument: MaybeContext & typeof getTaxDocument$1>; declare const listTaxDocuments: MaybeContext & typeof listTaxDocuments$1>; declare const generateFileDownloadInfo: MaybeContext & typeof generateFileDownloadInfo$1>; export { GenerateFileDownloadInfoResponse, ListTaxDocumentsOptions, ListTaxDocumentsResponse, TaxDocument, generateFileDownloadInfo, getTaxDocument, listTaxDocuments };