import { Authentication, Interceptor, ApiKeyAuth, AccessCodeDetail, AccessCodeDetails, BehalfDocumentRecords, ChangeRecipient, DocumentCreated, DocumentEdited, DocumentProperties, DocumentRecords, DocumentTags, EditDocumentRequest, EmbeddedCloneDocumentJsonRequest, EmbeddedClonedDocument, EmbeddedDocumentEditJsonRequest, EmbeddedDocumentEdited, EmbeddedDocumentRequest, EmbeddedSendCreated, EmbeddedSigningLink, ExtendExpiry, PrefillFieldRequest, ReminderMessage, RemoveAuthentication, RevokeDocument, SendForSign, TeamDocumentRecords } from '../model'; import { optionsI, returnTypeI } from './'; export declare class DocumentApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; Bearer: ApiKeyAuth; 'X-API-KEY': ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); set useQuerystring(value: boolean); set basePath(basePath: string); set defaultHeaders(defaultHeaders: any); get defaultHeaders(): any; get basePath(): string; setDefaultAuthentication(auth: Authentication): void; setApiKey(apikey: string): void; setAccessToken(accessToken: string): void; addInterceptor(interceptor: Interceptor): void; addAuthentication(documentId: string, accessCodeDetail?: AccessCodeDetail, options?: optionsI): Promise; addTag(documentTags?: DocumentTags, options?: optionsI): Promise; behalfDocuments(page: number, pageType?: 'BehalfOfOthers' | 'BehalfOfMe', emailAddress?: Array, signers?: Array, pageSize?: number, startDate?: Date, status?: Array<'None' | 'WaitingForMe' | 'WaitingForOthers' | 'NeedAttention' | 'Completed' | 'Declined' | 'Revoked' | 'Expired' | 'Draft' | 'Scheduled'>, endDate?: Date, searchKey?: string, labels?: Array, nextCursor?: number, brandIds?: Array, options?: optionsI): Promise; cancelEditing(documentId: string, onBehalfOf?: string, options?: optionsI): Promise; changeAccessCode(documentId: string, accessCodeDetails: AccessCodeDetails, emailId?: string, zOrder?: number, options?: optionsI): Promise; changeRecipient(documentId: string, changeRecipient: ChangeRecipient, options?: optionsI): Promise; createEmbeddedDocumentCloneUrl(documentId: string, embeddedCloneDocumentJsonRequest?: EmbeddedCloneDocumentJsonRequest, options?: optionsI): Promise; createEmbeddedEditUrl(documentId: string, embeddedDocumentEditJsonRequest?: EmbeddedDocumentEditJsonRequest, options?: optionsI): Promise; createEmbeddedRequestUrlDocument(embeddedDocumentRequest?: EmbeddedDocumentRequest, options?: optionsI): Promise; deleteDocument(documentId: string, deletePermanently?: boolean, options?: optionsI): Promise; deleteTag(documentTags?: DocumentTags, options?: optionsI): Promise; downloadAttachment(documentId: string, attachmentId: string, onBehalfOf?: string, options?: optionsI): Promise; downloadAuditLog(documentId: string, onBehalfOf?: string, options?: optionsI): Promise; downloadDocument(documentId: string, onBehalfOf?: string, format?: 'Combined' | 'Individually', options?: optionsI): Promise; draftSend(documentId: string, options?: optionsI): Promise; editDocument(documentId: string, editDocumentRequest?: EditDocumentRequest, options?: optionsI): Promise; extendExpiry(documentId: string, extendExpiry?: ExtendExpiry, options?: optionsI): Promise; getProperties(documentId: string, options?: optionsI): Promise; getEmbeddedSignLink(documentId: string, signerEmail?: string, countryCode?: string, phoneNumber?: string, signLinkValidTill?: Date, redirectUrl?: string, options?: optionsI): Promise; listDocuments(page: number, sentBy?: Array, recipients?: Array, transmitType?: 'Sent' | 'Received' | 'Both', dateFilterType?: 'SentBetween' | 'Expiring', pageSize?: number, startDate?: Date, status?: Array<'None' | 'WaitingForMe' | 'WaitingForOthers' | 'NeedAttention' | 'Completed' | 'Declined' | 'Revoked' | 'Expired' | 'Draft' | 'Scheduled'>, endDate?: Date, searchKey?: string, labels?: Array, nextCursor?: number, brandIds?: Array, options?: optionsI): Promise; prefillFields(documentId: string, prefillFieldRequest: PrefillFieldRequest, options?: optionsI): Promise; remindDocument(documentId: string, receiverEmails?: Array, reminderMessage?: ReminderMessage, options?: optionsI): Promise; removeAuthentication(documentId: string, removeAuthentication?: RemoveAuthentication, options?: optionsI): Promise; revokeDocument(documentId: string, revokeDocument: RevokeDocument, options?: optionsI): Promise; sendDocument(sendForSign?: SendForSign, options?: optionsI): Promise; teamDocuments(page: number, userId?: Array, teamId?: Array, transmitType?: 'Sent' | 'Received' | 'Both', dateFilterType?: 'SentBetween' | 'Expiring', pageSize?: number, startDate?: Date, status?: Array<'None' | 'WaitingForMe' | 'WaitingForOthers' | 'NeedAttention' | 'Completed' | 'Declined' | 'Revoked' | 'Expired' | 'Draft' | 'Scheduled'>, endDate?: Date, searchKey?: string, labels?: Array, nextCursor?: number, brandIds?: Array, options?: optionsI): Promise; }