/// import http from 'http'; import { Import } from '../model/import'; import { Authentication, Interceptor } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth } from '../model/models'; export declare enum ImportsApiApiKeys { ApiKeyAuth = 0 } export declare class ImportsApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; ApiKeyAuth: ApiKeyAuth; BasicAuth: HttpBasicAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); constructor(username: string, password: string, 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(key: ImportsApiApiKeys, value: string): void; set username(username: string); set password(password: string); addInterceptor(interceptor: Interceptor): void; postImports(workspaceId: string, xApiKey: string, contentType: 'application/vnd.whispir.importcontact-v1+json' | 'application/vnd.whispir.importcontact-v1+xml', accept: 'application/vnd.whispir.importcontact-v1+json' | 'application/vnd.whispir.importcontact-v1+xml', _import?: Import, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; }