/** * context.ts — Extract parent conversation context for subagent inheritance. */ import type { ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { MagicContextInheritedContext } from "./magic-context-compat.js"; /** Extract text from a message content block array. */ export declare function extractText(content: unknown[]): string; export declare function buildParentContext(ctx: ExtensionContext, magicContext?: MagicContextInheritedContext): string;