import type { ActiveRepoContext } from "@oh-my-pi/pi-tui/status-line/host"; export declare function formatActiveRepoWatchdogPrompt(activeRepoContext: ActiveRepoContext): string; /** * Render the project context files (AGENTS.md and the like) into a block for the * advisor's system prompt, mirroring how the primary agent receives them. Gives * the read-only reviewer the user's standing project instructions so it can hold * the driving agent to them instead of advising against project conventions it * cannot otherwise see. Returns undefined when there are no context files. */ export declare function formatAdvisorContextPrompt(contextFiles: ReadonlyArray<{ path: string; content: string; }>): string | undefined; /** * Wrap the active memory backend's developer instructions (the same block the * primary agent gets appended to its system prompt) for an advisor's system * prompt. The wrapper marks the block as shared background knowledge and warns * that memory tools mentioned inside may be absent from the advisor's own tool * list. Returns undefined when the backend injected nothing. */ export declare function formatAdvisorMemoryPrompt(memoryInstructions: string | undefined): string | undefined; /** * A readable config candidate discovered on the watchdog/advisor search path, * with raw (un-expanded) content and its position metadata. */ export interface ConfigCandidate { path: string; content: string; level: "user" | "project"; depth: number; } /** * Walk the watchdog/advisor config search path — the user agent dir plus every * directory from `cwd` up to the repo root (or home), probing both `` and * `.omp/` for each given filename — and return the readable candidates with * their raw content, sorted user-first then project ancestor→leaf (depth * descending, so the leaf directory is most specific/last). Shared by * {@link discoverWatchdogFiles} and `discoverAdvisorConfigs`. Content is returned * verbatim (no `@import` expansion); callers expand what they need. */ export declare function collectConfigCandidates(cwd: string, agentDir: string | undefined, filenames: string[]): Promise; /** * Discover and load WATCHDOG.md files walking up from cwd, project .omp folder, and user agent dir. * Returns formatted watchdog file blocks ready to be appended to the advisor system prompt. */ export declare function discoverWatchdogFiles(cwd: string, agentDir?: string): Promise;