UI for Zipcoin Blue

environment.d.ts 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import * as inquirerType from 'inquirer';
  2. import { ICLIEventEmitter, IClient, ICommand, IConfig, IDaemon, IHookEngine, ILogger, IProject, IRootNamespace, ISession, IShell, ITaskChain, ITelemetry, IonicEnvironment, IonicEnvironmentFlags, IonicEnvironmentMeta, IonicEnvironmentPlugins, PromptModule } from '../definitions';
  3. export declare class Environment implements IonicEnvironment {
  4. command?: ICommand;
  5. readonly flags: IonicEnvironmentFlags;
  6. readonly hooks: IHookEngine;
  7. readonly client: IClient;
  8. readonly config: IConfig;
  9. readonly daemon: IDaemon;
  10. readonly events: ICLIEventEmitter;
  11. readonly log: ILogger;
  12. readonly prompt: PromptModule;
  13. readonly meta: IonicEnvironmentMeta;
  14. project: IProject;
  15. readonly plugins: IonicEnvironmentPlugins;
  16. session: ISession;
  17. readonly shell: IShell;
  18. readonly tasks: ITaskChain;
  19. readonly telemetry: ITelemetry;
  20. readonly namespace: IRootNamespace;
  21. private bottomBar?;
  22. constructor({bottomBar, client, config, daemon, events, flags, hooks, log, meta, namespace, plugins, project, prompt, session, shell, tasks, telemetry}: {
  23. bottomBar?: inquirerType.ui.BottomBar;
  24. client: IClient;
  25. config: IConfig;
  26. daemon: IDaemon;
  27. events: ICLIEventEmitter;
  28. flags: IonicEnvironmentFlags;
  29. hooks: IHookEngine;
  30. log: ILogger;
  31. meta: IonicEnvironmentMeta;
  32. namespace: IRootNamespace;
  33. plugins: IonicEnvironmentPlugins;
  34. project: IProject;
  35. prompt: PromptModule;
  36. session: ISession;
  37. shell: IShell;
  38. tasks: ITaskChain;
  39. telemetry: ITelemetry;
  40. });
  41. load(p: any): any;
  42. open(): Promise<void>;
  43. close(): Promise<void>;
  44. runCommand(pargv: string[], opts?: {
  45. showExecution?: boolean;
  46. }): Promise<void>;
  47. }