UI for Zipcoin Blue

123456789101112131415161718192021222324252627282930
  1. import { DistTag, IonicEnvironment, Plugin, PluginMeta } from '../definitions';
  2. import { PkgManagerOptions } from './utils/npm';
  3. export declare const ERROR_PLUGIN_NOT_INSTALLED = "PLUGIN_NOT_INSTALLED";
  4. export declare const ERROR_PLUGIN_NOT_FOUND = "PLUGIN_NOT_FOUND";
  5. export declare const ERROR_PLUGIN_INVALID = "PLUGIN_INVALID";
  6. export declare const KNOWN_PLUGINS: string[];
  7. export declare function formatFullPluginName(name: string): string;
  8. export declare function promptToInstallPlugin(env: IonicEnvironment, pluginName: string, {message, global, reinstall}: {
  9. message?: string;
  10. global?: boolean;
  11. reinstall?: boolean;
  12. }): Promise<Plugin | undefined>;
  13. export declare function registerPlugin(env: IonicEnvironment, plugin: Plugin): void;
  14. export declare function unregisterPlugin(env: IonicEnvironment, plugin: Plugin): void;
  15. export declare function loadPlugins(env: IonicEnvironment): Promise<void>;
  16. export interface LoadPluginOptions {
  17. message?: string;
  18. askToInstall?: boolean;
  19. reinstall?: boolean;
  20. global?: boolean;
  21. }
  22. export declare function loadPlugin(env: IonicEnvironment, pluginName: string, {message, askToInstall, reinstall, global}: LoadPluginOptions): Promise<Plugin>;
  23. export declare function getPluginMeta(p: string): Promise<PluginMeta>;
  24. export declare function versionNeedsUpdating(version: string, latestVersion: string): Promise<boolean>;
  25. export declare function checkForUpdates(env: IonicEnvironment): Promise<string[]>;
  26. export declare function getLatestPluginVersion(env: IonicEnvironment, name: string, version: string): Promise<string | undefined>;
  27. export declare function pkgInstallPluginArgs(env: IonicEnvironment, name: string, options?: PkgManagerOptions): Promise<string[]>;
  28. export declare function determineDistTag(version: string): DistTag;
  29. export declare function detectAndWarnAboutDeprecatedPlugin(env: IonicEnvironment, plugin: string): Promise<void>;