import { Template, SchemaForUI, Size } from '@pdfme/common'; export declare const uuid: () => string; export declare const set: (obj: T, path: string | string[], value: any) => void; export declare const debounce: (cb: T, wait?: number) => T; export declare const round: (number: number, precision: number) => number; export declare const cloneDeep: (value: T) => T; export declare const flatten: (arr: T[][]) => T[]; declare const esc = "esc"; export declare const initShortCuts: (arg: { move: (command: 'up' | 'down' | 'left' | 'right', isShift: boolean) => void; remove: () => void; esc: () => void; copy: () => void; paste: () => void; redo: () => void; undo: () => void; save: () => void; selectAll: () => void; }) => void; export declare const destroyShortCuts: () => void; export declare const readFiles: (files: FileList | null, type: 'text' | 'dataURL' | 'arrayBuffer') => Promise; export declare const px2mm: (px: number) => number; export declare const getPdfPageSizes: (pdfBlob: Blob) => Promise<{ height: number; width: number; }[]>; export declare const pdf2Pngs: (pdfBlob: Blob, width: number) => Promise; export declare const b64toBlob: (base64: string) => Blob; export declare const templateSchemas2SchemasList: (_template: Template) => Promise<({ rotate?: number | undefined; alignment?: "left" | "center" | "right" | undefined; fontSize?: number | undefined; fontName?: string | undefined; fontColor?: string | undefined; backgroundColor?: string | undefined; characterSpacing?: number | undefined; lineHeight?: number | undefined; type: "text"; position: { x: number; y: number; }; data: string; width: number; height: number; id: string; key: string; } | { rotate?: number | undefined; type: "image"; position: { x: number; y: number; }; data: string; width: number; height: number; id: string; key: string; } | { rotate?: number | undefined; type: "qrcode" | "japanpost" | "ean13" | "ean8" | "code39" | "code128" | "nw7" | "itf14" | "upca" | "upce"; position: { x: number; y: number; }; data: string; width: number; height: number; id: string; key: string; })[][]>; export declare const fmtTemplate: (template: Template, schemasList: SchemaForUI[][]) => Template; export declare const getInitialSchema: () => SchemaForUI; export declare const getSampleByType: (type: string) => string; export declare const getKeepRatioHeightByWidth: (type: string, width: number) => number; export declare const getUniqSchemaKey: (arg: { copiedSchemaKey: string; schema: SchemaForUI[]; stackUniqSchemaKeys: string[]; }) => string; export declare const moveCommandToChangeSchemasArg: (props: { command: 'up' | 'down' | 'left' | 'right'; activeSchemas: SchemaForUI[]; isShift: boolean; pageSize: Size; }) => { key: string; value: number; schemaId: string; }[]; export declare const getPagesScrollTopByIndex: (pageSizes: { width: number; height: number; }[], index: number, scale: number) => number; export {};