import type { RemoteInteractiveCapabilities } from "../tui/interactive/remote-interactive-capabilities.js";
export declare const DISABLED_PEER_COMMAND_NAMES: readonly ["new", "resume", "tree", "fork", "clone"];
export declare const VISIBLE_PEER_COMMANDS: readonly [{
    readonly name: "model";
    readonly description: "Inspect or switch the active model";
}, {
    readonly name: "agents";
    readonly description: "Switch to another agent allowed by the current token";
}, {
    readonly name: "settings";
    readonly description: "Inspect supported peer settings";
}, {
    readonly name: "compact";
    readonly description: "Ask hub to compact the current session";
}, {
    readonly name: "reload";
    readonly description: "Ask hub to reload resources";
}, {
    readonly name: "group";
    readonly description: "Show current hub group agents and tool executors";
}, {
    readonly name: "session";
    readonly description: "Show current session snapshot details";
}, {
    readonly name: "source";
    readonly description: "Show hub and peer-local source processes and status";
}, {
    readonly name: "mcp";
    readonly description: "Show hub-configured MCP servers, capabilities, and status";
}, {
    readonly name: "skills";
    readonly description: "Show available hub and peer skills";
}];
declare const VALID_THINKING_LEVELS: readonly ["off", "minimal", "low", "medium", "high", "xhigh"];
export type VisiblePeerCommand = (typeof VISIBLE_PEER_COMMANDS)[number];
export type PeerThinkingLevel = (typeof VALID_THINKING_LEVELS)[number];
export type DisabledPeerCommandName = (typeof DISABLED_PEER_COMMAND_NAMES)[number];
export type PeerCommandParseResult = {
    kind: "set_model";
    provider: string;
    modelId: string;
} | {
    kind: "show_model";
} | {
    kind: "show_agents";
} | {
    kind: "set_thinking_level";
    level: PeerThinkingLevel;
} | {
    kind: "show_settings";
} | {
    kind: "compact";
    customInstructions?: string;
} | {
    kind: "reload";
} | {
    kind: "show_group";
} | {
    kind: "show_session";
} | {
    kind: "show_sources";
} | {
    kind: "show_mcp_servers";
} | {
    kind: "show_skills";
} | {
    kind: "disabled";
    commandName: DisabledPeerCommandName;
    message: string;
} | {
    kind: "invalid";
    commandName: string;
    message: string;
};
export declare function getVisiblePeerCommands(capabilities: Pick<RemoteInteractiveCapabilities, "supportsCompact" | "supportsReload" | "supportsModelSelection" | "supportsAgentSwitching" | "supportsSettings" | "supportsGroup" | "supportsSessionDetails" | "supportsSources" | "supportsMcp" | "supportsSkills">): readonly VisiblePeerCommand[];
export declare function parsePeerCommand(input: string): PeerCommandParseResult | null;
export {};
//# sourceMappingURL=index.d.ts.map