/** * utility functions to determine whether file type supports preview. * and return the preview image url based on the file url */ /** * @internal */ export declare class PreviewHelper { static readonly RESOLUTION: string; static readonly GUID_SITE: string; static readonly GUID_WEB: string; static readonly GUID_FILE: string; static readonly PATH: string; static readonly EXT: string; static readonly ORIGINAL_WIDTH: string; static readonly ORIGINAL_HEIGHT: string; static readonly WIDTH: string; static readonly WIDTH_SHORT: string; static readonly HEIGHT_SHORT: string; static readonly VIEWPORT_LEFT: string; static readonly VIEWPORT_TOP: string; static readonly VIEWPORT_WIDTH: string; static readonly VIEWPORT_HEIGHT: string; static readonly CALLER_STACK: string; static readonly INPUT_FORMAT: string; static readonly DOCID: string; static readonly PREVIEW_HANDLER_PATH: string; static readonly VIDEO_EXTENSIONS: ReadonlyArray; static readonly IMAGE_EXTENSIONS: ReadonlyArray; /** * Returns true if the filetype is supported for preview. */ static hasThumbnailOrFileTypeSupportsPreview(fileType: string | undefined, thumbnail: string | undefined): boolean; /** * Returns preview image URL for supported file extensions using getPreview.aspx service * Must be given unencoded strings */ static getPreviewImageUrl(fileType: string | undefined, thumbnail: string | undefined, baseUrl: string, path: string | undefined, siteId: string | undefined, webId: string | undefined, uniqueId: string | undefined, width?: number, isBannerImageUrl?: boolean, callerId?: string, originalWidth?: number, originalHeight?: number): string; private static _generateGetPreviewImageUrl; } //# sourceMappingURL=PreviewHelper.d.ts.map