thedesk/app/node_modules/app-builder-lib/out/util/license.d.ts

16 lines
649 B
TypeScript
Raw Permalink Normal View History

2019-09-13 00:38:13 +10:00
import { PlatformPackager } from "../platformPackager";
export declare function getLicenseAssets(fileNames: Array<string>, packager: PlatformPackager<any>): {
file: string;
lang: string;
langWithRegion: string;
langName: any;
}[];
export declare function getNotLocalizedLicenseFile(custom: string | null | undefined, packager: PlatformPackager<any>, supportedExtension?: Array<string>): Promise<string | null>;
export declare function getLicenseFiles(packager: PlatformPackager<any>): Promise<Array<LicenseFile>>;
export interface LicenseFile {
file: string;
lang: string;
langWithRegion: string;
langName: string;
}