/**
 * Helper for spawning the attached `atomic _footer` pane inside an agent
 * tmux window.
 *
 * Shared between the workflow executor (per-agent windows) and the chat
 * command (single-agent window). Splits the target pane vertically so the
 * top pane keeps running the agent CLI and the bottom pane hosts the
 * React footer.
 *
 * Resolves the CLI entrypoint relative to this module (runtime/ lives at
 * src/sdk/runtime/, so ../../cli.ts is the CLI). `process.argv[1]` points
 * at the worker entrypoint when called from the orchestrator,
 * so it can't be used here.
 */
import type { AgentType } from "../types.ts";
export declare function resolveAttachedFooterCliPath(runtimeDir?: string, platform?: NodeJS.Platform): string;
export declare function buildAttachedFooterCommand({ runtime, cliPath, windowName, agentType, platform, }: {
    runtime: string;
    cliPath: string;
    windowName: string;
    agentType?: AgentType;
    platform?: NodeJS.Platform;
}): string;
export declare function buildAttachedFooterCloseHooks(agentPaneId: string, footerPaneId: string, options?: {
    guardAgentPane?: boolean;
}): Array<{
    event: string;
    command: string;
}>;
export declare function spawnAttachedFooter(windowName: string, paneId: string, agentType?: AgentType): void;
//# sourceMappingURL=attached-footer.d.ts.map