import { JobStatus } from '../../index.js'; import { progress } from './progress.js'; import * as prompts from './prompts.js'; import { ux } from '@oclif/core'; import { joinOxford } from './format.js'; import { infoList } from './info-list.js'; import { summarizeStatus } from './summarize-status.js'; /** * This class is a rat's nest of helper utilities at the moment; * half of its utilities are wrappers around ux, others are overrides, * others are custom stuff we're using. */ export declare class SpiderCli { protected _progress?: progress.Bar; header(input: string): string; url(input: string | URL, label?: string): string; table: typeof ux.Table.table; json: typeof ux.ux.styledJSON; object: typeof ux.ux.styledObject; joinOxford: typeof joinOxford; infoList: typeof infoList; summarizeStatus: typeof summarizeStatus; /** * Render an 'activity' indicator of some kind (a spinner, etc) followed by * an optional status message. Also sets `inProgress` to true; it will * remain busy until the `done` or `progress` methods are called. */ busy(input: string): string; newProgressBar(): progress.Bar; /** * Render a progress bar based on a JobStatus object, with an optional * status message. This will set `inProgress` to true until the `done` * or `busy` methods are called. */ progress(input: JobStatus, message?: string | undefined): string | undefined; /** * Ends any existing `busy` or `progress` state, renders an optional * status message, and `inProgress` to false. */ done(input?: string | undefined): string | undefined; /** * Pause execution and display a confirmation prompt before proceeding. * * If the `timeout` parameter is set, the prompt will automatically dismiss * itself after the specified number of miliseconds, using the `initial` parameter * as its final answer. */ confirm: typeof prompts.confirm; anyKey: typeof import("@oclif/core/lib/cli-ux/prompt.js").anykey; } //# sourceMappingURL=spider-cli.d.ts.map