///
import http = require('http');
import { FileResult } from '../model/fileResult';
import { Authentication } from '../model/models';
import { HttpBasicAuth, ApiKeyAuth, OAuth } from '../model/models';
import { RequestFile } from './apis';
export declare enum OfficeServicesApiApiKeys {
api = 0
}
export declare class OfficeServicesApi {
protected _basePath: string;
protected defaultHeaders: any;
protected _useQuerystring: boolean;
protected authentications: {
'default': Authentication;
'jwt': HttpBasicAuth;
'api': ApiKeyAuth;
'oauth2': OAuth;
};
constructor(oAuth?: OAuth);
useQuerystring: boolean;
basePath: string;
setDefaultAuthentication(auth: Authentication): void;
setApiKey(key: OfficeServicesApiApiKeys, value: string): void;
oAuth: OAuth;
tokenUrl: string;
clientId: string;
clientSecret: string;
uploadDocuments(client: string, project: string, source: string, to: string, unique?: string, file?: RequestFile, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.ClientResponse;
body: Array;
}>;
}