import Client from './client' import ConversionProcess from './conversion-process' import MergeProcess from './merge-process' export default class PDFire { client: Client constructor(apiKey: string) { this.client = new Client(apiKey) } /** * Set the API key. */ setApiKey(apiKey: string) { this.client.apiKey = apiKey } /** * Initialize a new conversion. */ conversion() { return new ConversionProcess(this.client) } /** * Initialize a new merge conversion. */ merge() { return new MergeProcess(this.client) } }