@leafer/file
Version:
15 lines (11 loc) • 473 B
TypeScript
import { IExportFileType, IStringMap, IExportOptions, IResource } from '@leafer/interface';
declare const FileHelper: {
alphaPixelTypes: IExportFileType[];
upperCaseTypeMap: IStringMap;
mineType(type: string): string;
fileType(filename: string): string;
isOpaqueImage(filename: string): boolean;
getExportOptions(options?: IExportOptions | number | boolean): IExportOptions;
};
declare const Resource: IResource;
export { FileHelper, Resource };