import XHRInterface from "./utils/XHRInterface"; import Auth from "./auth/Auth"; import SignatureStatus from "./types/responses/SignatureStatus"; import ServerFile from "./types/ServerFile"; export interface SignatureListFilters { text?: string; status?: SignatureStatus; sort_field?: 'created' | 'filename'; sort_direction?: 'asc' | 'desc'; created_more_than?: string; created_less_than?: string; } declare const _default: { getSignatureStatus: (auth: Auth, xhr: XHRInterface, signatureToken: string) => Promise; getSignatureList: (auth: Auth, xhr: XHRInterface, page?: number, pageLimit?: number, filters?: SignatureListFilters) => Promise>; voidSignature: (auth: Auth, xhr: XHRInterface, signatureToken: string) => Promise; increaseSignatureExpirationDays: (auth: Auth, xhr: XHRInterface, signatureToken: string, daysAmount: number) => Promise; sendReminders: (auth: Auth, xhr: XHRInterface, signatureToken: string) => Promise; downloadOriginalFiles: (auth: Auth, xhr: XHRInterface, signatureToken: string) => Promise; downloadSignedFiles: (auth: Auth, xhr: XHRInterface, signatureToken: string) => Promise; downloadAuditFiles: (auth: Auth, xhr: XHRInterface, signatureToken: string) => Promise; getReceiverInfo: (auth: Auth, xhr: XHRInterface, receiverTokenRequester: string) => Promise; fixReceiverEmail: (auth: Auth, xhr: XHRInterface, receiverTokenRequester: string, email: string) => Promise; fixReceiverPhone: (auth: Auth, xhr: XHRInterface, receiverTokenRequester: string, phone: string) => Promise; }; export default _default; export type GetSignatureStatus = { brand_name: string | null; completed_on: string | null; created: string; email: string; expires: string; language: 'en-US' | 'es' | 'fr' | 'it' | 'ca' | 'zh-cn' | 'zh-tw' | 'zh-Hant' | 'zh-Hans' | 'ar' | 'ru' | 'de' | 'ja' | 'pt' | 'bg' | 'ko' | 'nl' | 'el' | 'hi' | 'id' | 'ms' | 'pl' | 'sv' | 'th' | 'tr' | 'uk' | 'vi'; message_signer: string; mode: 'multiple'; name: string; notes: string | null; signer_reminder_days_cycle: number; subject_cc: string | null; subject_signer: string | null; token_requester: string; uuid: string; expired: boolean; signers: Array; expiring: boolean; verify_enabled: boolean; files: Array; certified: boolean; signer_reminders: boolean; status: SignatureStatus; uuid_visible: boolean; lock_order: boolean; }; export type GetReceiverInfoResponse = { uuid: string; name: string; email: string; type: 'signer' | 'witness' | 'validator'; token_requester: string; status: 'waiting' | 'sent' | 'viewed' | 'signed' | 'validated' | 'nonvalidated' | 'declined' | 'error'; access_code: boolean; force_signature_type: 'all' | 'text' | 'sign' | 'image'; notes: string | null; fix_email_needed: boolean; fix_phone_needed: boolean; };