import { core } from '@trustme24/flext'; // Base Data Types export type PDF = Buffer; // Base Struct Types export type Flext2Pdf = { pdf: Flext2PdfHandler, flextToPdf: Flext2PdfHandler, hbsToPdf: FlextTemplate2PdfHandler, clear: Flext2PdfClearHandler, }; // Base Callable Types export type Flext2PdfHandler = (val: core.types.ProcessorInterface | string, options: any) => Promise; export type FlextTemplate2PdfHandler = (val: string, options: any) => Promise; export type Flext2PdfClearHandler = () => Promise;