import { type Keychain } from "../lib/keychain.js";
import { type ActiveTenantOptions } from "../lib/active-tenant.js";
import { type TenantSummary } from "../api/client.js";
export interface OrgsCommandIO {
    stdout: {
        write: (s: string) => boolean;
    };
    stderr: {
        write: (s: string) => boolean;
    };
    exit?: (code: number) => void;
}
export interface OrgsCommandDeps {
    io: OrgsCommandIO;
    keychain?: Keychain;
    /** 0839 — override for tests so we don't hit the network. */
    listTenants?: () => Promise<TenantSummary[]>;
    /** Override the config dir (tests). */
    activeTenantOptions?: ActiveTenantOptions;
}
export declare function orgsCommand(argv: string[], deps: OrgsCommandDeps): Promise<number>;
