/// <reference types="node" />
import { TDocumentDefinitions, PDFKit } from "./interfaces";
export declare class PDF {
    document: PDFKit.PDFDocument;
    private buffers;
    private data;
    private printer;
    constructor();
    write(pdfMake: TDocumentDefinitions): Promise<boolean>;
    getData(encoding?: BufferEncoding): Promise<string>;
    getDataURI(): Promise<string>;
    getDataBuffer(): Promise<Buffer>;
}
