import type { Core } from '@pdftron/webviewer'; import { Futurable } from '../data'; export declare const globalLicense: { set(newLicense: string): void; get(): string | undefined; }; /** * Convert a WebViewer Core Document into a Blob. * @param documentObj A WebViewer Core Document, or promise to get it. */ export declare function documentToBlob(documentObj: Futurable): Promise; /** * Convert a Blob and extension into a WebViewer Core Document. * @param blob A Blob, or promise to get it. * @param extension The file extension of the provided Blob. * @param l License key. If not provided, will try to use global license. */ export declare function blobToDocument(blob: Futurable, extension: string, l?: string): Promise; /** * Rotate a document 90 degrees. * @param documentObj A WebViewer Core Document, or promise to get it. * @param counterclockwise If provided, will rotate counterclockwise instead of * the default clockwise. */ export declare function getRotatedDocument(documentObj: Futurable, counterclockwise?: boolean): Promise; declare type GetThumbnailOptions = { extension?: string; pageNumber?: number; }; /** * Gets the thumbnail for a document. * @param documentObj A WebViewer Core Document, or promise to get it. * @param options Additional options for the function. */ export declare function getThumbnail(documentObj: Futurable, options?: GetThumbnailOptions): Promise; export {};