/// <reference types="pdfkit" />
import type { CreateExamPdfParams } from '../../createExamPdf.js';
import { type Component } from '../component/DocComponent.js';
import type { FooterProps } from '../component/Footer/Footer.js';
import type { PageLinesProps } from '../component/PageLines/PageLines.js';
export type PDF = PDFKit.PDFDocument;
export declare const Doc: {
    init: ({ params: { metadata: { author, subject, title }, }, }: {
        params: CreateExamPdfParams;
        outputPath?: string;
    }) => any;
    end: () => void;
    addPage: (pageLinesConfig?: PageLinesProps, footerConfig?: FooterProps) => Promise<any>;
    margin: number;
    width: number;
    height: number;
    get: () => PDF;
    font: (font: 'normal' | 'bold' | 'medium') => any;
    renderComponent: (c: Component) => Promise<any>;
};
