export declare function detectTmux(): Promise<boolean>;
export declare function isCockpitChild(): boolean;
export interface LaunchChatCockpitOptions {
    runId?: string;
    brand?: string;
    cwd?: string;
    agentFile?: string;
    workers?: string;
    maxStepsPerTurn?: string;
    mcpScope?: string;
    provider?: string;
    model?: string;
    execution?: string;
    ui?: string;
    cockpitRefresh?: string;
    cockpitRedraw?: "diff" | "full" | "append";
    cockpitHistory?: "off" | "static" | "watch";
    cockpitSideWidth?: string;
    cockpitHeight?: string;
}
export declare function ensureChatRunState(root: string, runId: string): Promise<void>;
export declare function buildRightPaneCommand(options: {
    nodeCmd: string;
    cliCmd: string;
    runId: string;
    refreshMs: number;
    redraw?: "diff" | "full" | "append";
    height?: number;
}): string;
export declare function launchChatCockpit(options?: LaunchChatCockpitOptions): Promise<void>;
export declare function buildLeftPaneCommand(options: {
    nodeCmd: string;
    cliCmd: string;
    runId: string;
    brand: string;
    agentFile?: string;
    workers?: string;
    maxStepsPerTurn?: string;
    mcpScope?: string;
    provider?: string;
    model?: string;
    execution?: string;
    ui?: string;
}): string;
export declare function shellQuote(value: string): string;
