import type { ResolvedConnectionDefinition, ResolvedInstructionsDefinition, ResolvedSkillDefinition } from "#runtime/types.js"; import type { WorkspaceRuntimeSpec } from "#runtime/workspace/types.js"; /** * Input for composing the base authored instructions prompt for one * resolved agent. */ interface ComposeRuntimeBasePromptInput { connections?: readonly ResolvedConnectionDefinition[]; instructions?: ResolvedInstructionsDefinition; /** * Whether the agent opted into `experimental.subagentPersistentSessions`. * Gates the agent-messaging prompt block that documents `agentId` * continuation and the `` listing. */ persistentSubagentSessions?: boolean; skills?: readonly ResolvedSkillDefinition[]; subagentsAvailable?: boolean; toolsAvailable?: boolean; workspaceSpec?: WorkspaceRuntimeSpec; } /** * Composes the authored base prompt from the resolved instructions source * without flattening skills into always-on instructions. */ export declare function composeRuntimeBasePrompt(input: ComposeRuntimeBasePromptInput): readonly string[]; export {};