import type { AvailableSubagentModel, DisabledSubagentProvider } from "../context/SubagentContext.js"; import type { PermissionMode } from "../../permissions/index.js"; import type { AnyDefinedTool } from "../types.js"; export declare const RIG_AGENT_TOOL_INSTRUCTIONS = "## Agent tool portability\n\n- `collaboration` is Codex Cloud's encrypted v2 protocol. `multi_agent_v1` is the plaintext protocol used by Codex models on Amazon Bedrock.\n- `rig` is provider-neutral. Use it when selecting or crossing models, providers, or regions, when native collaboration is unavailable, and when setting effort.\n- If a native collaboration call rejects the target, retry with the matching `rig` tool and provide the normal task text. Never copy or reinterpret encrypted content."; export declare const STEERABLE_TOOL_INSTRUCTIONS = "## Steerable tools\n\nTools described as steerable are interrupted when new steering arrives, including new user messages, messages from other agents, and background completion notifications. Rig closes the interrupted tool call, adds the new information to the conversation, and continues the same turn so you can respond immediately."; export declare function createPermissionInstructions(mode: PermissionMode, tools?: readonly AnyDefinedTool[]): string; export declare function createAvailableModelsInstructions(models: readonly AvailableSubagentModel[], disabledProviders?: readonly DisabledSubagentProvider[]): string | undefined; export declare function createBundledDocsInstructions(docsPath: string): string; export declare function createWorkspaceInstructions(): string; export declare function createSubagentInstructions(parentInstructions: string | undefined, depth: number, maxDepth: number): string;