/// import Conversion from './conversion'; import Parameters, { StorageOptions } from './parameters'; import BufferResult from './buffer-result'; export default class Client { apiKey: string; baseUrl: string; constructor(apiKey: string); /** * Create a PDF from the given parameters. */ convert(params: Parameters): Promise; /** * Create a PDF from the given parameters and return the buffer result. */ convertToBufferResult(params: Parameters): Promise; /** * Create a PDF from the given parameters and return it as a buffer. */ convertToBuffer(params: Parameters): Promise; /** * Create a PDF from the given parameters, upload it to the CDN and return the conversion. */ convertUsingCDN(params: Parameters): Promise; convertUsingStorage(params: Parameters, options?: StorageOptions): Promise; private makeResult; private makeCDNResult; private makeBufferResult; }