/** * Web-researcher loader (Phase 7) * * Loads the canonical web-researcher agent body shipped with the extension. * Used by tests to verify the agent definition is present and well-formed. * The actual agent file at .pi/agents/web-research.md is generated from * this body by /senai-generate-sub-agents (or copied manually by the user). */ /** Filename of the canonical agent body shipped with the extension. */ export declare const WEB_RESEARCHER_BODY_FILENAME = "web-researcher-body.md"; /** Absolute path to the canonical body. tsc copies .ts files to dist/ * but does NOT copy the .md sibling, so we resolve via process.cwd() * to the source tree (pi-extension/src/agents/...). */ export declare function getWebResearcherBodyPath(): string; export interface WebResearcherFrontmatter { name: string; description: string; tools: string[]; } /** Parse the YAML-style frontmatter at the top of the body file. Tolerant * parser — only handles the simple `key: value` shape used by Pi agent * files; returns null if the file is missing or malformed. */ export declare function parseWebResearcherFrontmatter(): WebResearcherFrontmatter | null;