import { provisionWorkspace } from "@decionis/agent-safe-pipeline"; import type { CliProcess } from "./CliProcess.js"; export declare const LOGIN_ARGUMENTS: { readonly valued: readonly ["tenant", "endpoint"]; readonly flags: readonly ["key-stdin", "provision"]; }; /** What a test hands in beneath the command: the call that mints a workspace. */ export interface LoginDependencies { readonly provision?: typeof provisionWorkspace; } /** * `agentsafe login`: stores a Decionis key for this user, readable by this * user alone, to be used when no `DECIONIS_API_KEY` is set. The key is read * from standard input or a prompt that does not echo, never from an * argument, so it appears in no shell history and no process list. Nothing * is sent anywhere; `agentsafe doctor` checks that Decionis accepts it. */ export declare function runLogin(io: CliProcess, argv: readonly string[], dependencies?: LoginDependencies): Promise; /** `agentsafe logout`: removes the stored login; the environment is untouched. */ export declare function runLogout(io: CliProcess): void; //# sourceMappingURL=Login.d.ts.map