import { type HostSessionRequest } from "../modes/rpc/host-session-runner.ts";
type CommandArgs<T> = T extends HostSessionRequest ? Omit<T, "target" | "spec"> : never;
export interface ParsedHostSessionArgs {
    readonly command: CommandArgs<HostSessionRequest>;
    readonly socket?: string;
    readonly specPath?: string;
    readonly keyRoot?: string;
}
export declare function parseHostSessionArgs(args: readonly string[]): ParsedHostSessionArgs | string;
export declare function runHostSessionCommand(args: readonly string[]): Promise<number>;
export {};
//# sourceMappingURL=host-session-command.d.ts.map