import { Table } from "./Table"; import { PdfPage } from "./PdfPage"; import { Image } from "./Image"; import { Paragraph } from "./Paragraph"; export declare class Document { addAndStartNewPage(): void; addAuthor(author?: string): void; addEvent(event?: string, eventHandler?: any): void; addImage(image?: Image): void; addLink(url?: string, label?: string): void; addNewLine(): void; addNewPage(): void; addNewPageAtIndex(index?: number): void; addParagraph(paragraph?: Paragraph): void; addTable(table?: Table): void; close(): void; constructor(os?: any, pageSize?: PdfPage); static createDocument(pageSize?: PdfPage): Document; getPageCount(): number; getPageSize(): PdfPage; initializeDocument(os?: any, pageSize?: PdfPage): void; isClosed(): boolean; saveAsAttachment( tableName?: string, tableSysId?: string, fileName?: string ): string; setBaseDirection(direction?: string): void; setMargins( topMargin?: number, rightMargin?: number, bottomMargin?: number, leftMargin?: number ): void; }