import { type Presence } from "@cotal-ai/core"; import { CommandFailure } from "@cotal-ai/workspace"; /** One live manager a refused selection could have chosen, with what presence says about it. */ export interface ManagerCandidate { readonly instanceId: string; readonly host: string | null; readonly activity: string | null; readonly since: string | null; } /** The roster of the space `values` resolve to, read once. */ export declare function rosterOf(values: { space?: string; server?: string; }): Promise; /** `failure` restated as the choice it is, when it is the refusal of an unpinned manager selection * among several live managers: each one's instance id, with the host, activity and process start * its presence reports, and a Next that reruns `argv` with `--on` for each. The outcome and code * are kept. The roster is read only for that refusal, and one that cannot be read leaves the * instance ids. Undefined for any other failure. */ export declare function managerChoiceFailure(failure: CommandFailure, readRoster: () => Promise, argv: readonly string[]): Promise; //# sourceMappingURL=manager-choice.d.ts.map