license.d.ts 649 B

123456789101112131415
  1. import { PlatformPackager } from "../platformPackager";
  2. export declare function getLicenseAssets(fileNames: Array<string>, packager: PlatformPackager<any>): {
  3. file: string;
  4. lang: string;
  5. langWithRegion: string;
  6. langName: any;
  7. }[];
  8. export declare function getNotLocalizedLicenseFile(custom: string | null | undefined, packager: PlatformPackager<any>, supportedExtension?: Array<string>): Promise<string | null>;
  9. export declare function getLicenseFiles(packager: PlatformPackager<any>): Promise<Array<LicenseFile>>;
  10. export interface LicenseFile {
  11. file: string;
  12. lang: string;
  13. langWithRegion: string;
  14. langName: string;
  15. }