balena-cli
Version:
The official balena Command Line Interface
21 lines (20 loc) • 1.17 kB
TypeScript
import type * as BalenaSdk from 'balena-sdk';
import type { Chalk } from 'chalk';
import type * as visuals from 'resin-cli-visuals';
import type * as CliForm from 'resin-cli-form';
export declare const onceAsync: <T>(fn: () => Promise<T>) => () => Promise<T>;
export declare const getBalenaSdk: () => BalenaSdk.BalenaSDK;
export declare const getVisuals: () => typeof visuals;
export declare const getChalk: () => Chalk;
export declare const getCliForm: () => typeof CliForm;
export declare const getCliUx: () => {
action: import("@oclif/core/lib/ux/action/simple").default | import("@oclif/core/lib/ux/action/spinner").default;
colorize: typeof import("@oclif/core/lib/ux").colorize;
colorizeJson: typeof import("@oclif/core/lib/ux").colorizeJson;
error: typeof import("@oclif/core/lib/errors").error;
exit: typeof import("@oclif/core/lib/errors").exit;
stderr: (str?: string | string[] | undefined, ...args: string[]) => void;
stdout: (str?: string | string[] | undefined, ...args: string[]) => void;
warn: typeof import("@oclif/core/lib/errors").warn;
};
export declare const stripIndent: typeof import("common-tags/lib/stripIndent");