UI for Zipcoin Blue

npm.d.ts 974B

1234567891011121314151617181920212223
  1. import { DistTag, IShellRunOptions, IonicEnvironment } from '../../definitions';
  2. import { PackageJson } from '@ionic/cli-framework';
  3. /**
  4. * To be used with a module path resolved from require.resolve().
  5. */
  6. export declare function readPackageJsonFileOfResolvedModule(resolvedModule: string): Promise<PackageJson>;
  7. export interface PkgManagerOptions extends IShellRunOptions {
  8. command?: 'dedupe' | 'rebuild' | 'install' | 'uninstall';
  9. pkg?: string;
  10. global?: boolean;
  11. link?: boolean;
  12. save?: boolean;
  13. saveDev?: boolean;
  14. saveExact?: boolean;
  15. }
  16. /**
  17. * Resolves pkg manager intent with command args.
  18. *
  19. * @return Promise<args> If the args is an empty array, it means the pkg manager doesn't have that command.
  20. */
  21. export declare function pkgManagerArgs(env: IonicEnvironment, options?: PkgManagerOptions): Promise<string[]>;
  22. export declare function pkgLatestVersion(env: IonicEnvironment, pkg: string, distTag?: DistTag): Promise<string | undefined>;