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