///
import { HtmlToPdf, WebToPdf, DocumentToPdf, ImagesToPdf, PdfMerge, PdfReorganize, PdfCreate, GetOperations } from "./index";
import Operation from "../classes/operation";
interface OperationsInterface {
/**
* Get a list of operations
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/getOperations
* @returns Operation result
*/
getOperations(params?: GetOperations): Promise>;
/**
* Get an operation
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/getOneOperation
* @returns Operation result
*/
getOperation(id: String): Promise;
/**
* Convert HTML code to a PDF file
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/htmlToPdf
* @param html HTML Code to convert
* @param options Operation options
* @returns Operation result
*/
htmlToPdf(html: String, options?: HtmlToPdf): Promise;
/**
* Convert a website to a PDF file
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/webToPdf
* @param url URL to convert
* @param options Operation options
* @returns Operation result
*/
webToPdf(url: String, options?: WebToPdf): Promise;
/**
* Convert a document to a PDF file. You can convert from: doc, docx, ppt, pptx, xml, xmlx and odt, ods, odp.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/documentToPdf
* @param url URL to the document
* @param options Operation options
* @returns Operation result
*/
documentToPdf(url: String, options?: DocumentToPdf): Promise;
/**
* Convert a document to a PDF file. You can convert from: doc, docx, ppt, pptx, xml, xmlx and odt, ods, odp.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/documentToPdf
* @param path Path to the document
* @param options Operation options
* @returns Operation result
*/
documentToPdf(path: String, options?: DocumentToPdf): Promise;
/**
* Convert a document to a PDF file. You can convert from: doc, docx, ppt, pptx, xml, xmlx and odt, ods, odp.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/documentToPdf
* @param file Document buffer
* @param options Operation options
* @returns Operation result
*/
documentToPdf(file: Buffer, options?: DocumentToPdf): Promise;
/**
* Convert images to a PDF file
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/imageToPdf
* @param files Array of images buffer
* @param options Operation options
* @returns Operation result
*/
imagesToPdf(files: Array, options?: ImagesToPdf): Promise;
/**
* Convert images to a PDF file
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/imageToPdf
* @param paths Array of images paths
* @param options Operation options
* @returns Operation result
*/
imagesToPdf(paths: Array, options?: ImagesToPdf): Promise;
/**
* Convert images to a PDF file
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/imageToPdf
* @param urls Array of images URL
* @param options Operation options
* @returns Operation result
*/
imagesToPdf(urls: Array, options?: ImagesToPdf): Promise;
/**
* Merge differents PDF files in one file.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/pdfMerge
* @param files Array of PDF buffers
* @param options Operation options
* @returns Operation result
*/
pdfMerge(files: Array, options?: PdfMerge): Promise;
/**
* Merge differents PDF files in one file.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/pdfMerge
* @param paths Array of PDF paths
* @param options Operation options
* @returns Operation result
*/
pdfMerge(paths: Array, options?: PdfMerge): Promise;
/**
* Merge differents PDF files in one file.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/pdfMerge
* @param urls Array of PDF urls
* @param options Operation options
* @returns Operation result
*/
pdfMerge(urls: Array, options?: PdfMerge): Promise;
/**
* Useful for reorganize a document: Change pages order, split a file in multiples files, Remove pages.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/pdfReorganize
* @param file PDF Buffer
* @param options Operation options
* @returns Operation result
*/
pdfReorganize(file: Buffer, options?: PdfReorganize): Promise;
/**
* Useful for reorganize a document: Change pages order, split a file in multiples files, Remove pages.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/pdfReorganize
* @param path PDF path
* @param options Operation options
* @returns Operation result
*/
pdfReorganize(path: String, options?: PdfReorganize): Promise;
/**
* Useful for reorganize a document: Change pages order, split a file in multiples files, Remove pages.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/pdfReorganize
* @param url PDF URL
* @param options Operation options
* @returns Operation result
*/
pdfReorganize(url: String, options?: PdfReorganize): Promise;
/**
* Create a PDF file using a JSON. Also you can edit one specifying an URL in template property.
* You'll be able to add elements like text, images but not delete them.
*
* For more information: https://api.pdf4.dev/v1/docs/#operation/pdfCreate
* @param options Operation options
* @returns Operation result
*/
pdfCreate(options?: PdfCreate): Promise;
}
export default OperationsInterface;