UNPKG

547 BTypeScriptView Raw
1import { PixelFormat } from './pixel-format';
2declare const validOptions: readonly ["png", "jpeg", "none"];
3export declare type ImageFormat = typeof validOptions[number];
4export declare type StillImageFormat = 'png' | 'jpeg';
5export declare const setImageFormat: (format: ImageFormat) => void;
6export declare const getUserPreferredImageFormat: () => "none" | "png" | "jpeg" | undefined;
7export declare const validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: PixelFormat, imageFormat: ImageFormat) => 'none' | 'valid';
8export {};