import type { AgentContextData, AgentSkill, BranchEntry, SessionDepth } from "./types.js"; export declare function readPiLocalSkills(skillRoots?: string[]): Promise; /** * Build agent context from ~/.agents. Fast and non-critical. */ export declare function buildAgentContext(cwd?: string): Promise; /** * Extract session depth from pi's session manager. * Call this from the extension where ctx.sessionManager is available. */ export declare function extractSessionDepth(entries: BranchEntry[]): SessionDepth; /** * Format agent context with strict layering. * Returns { repoLayer, skillLayer, ecosystemLayer } so consumers can * inject each at a different priority in the prompt. */ export declare function formatLayeredAgentContext(ctx: AgentContextData): { repoLayer: string; skillLayer: string; ecosystemLayer: string; }; /** * Format agent context for the prompt — structured for question generation. */ export declare function formatAgentContext(ctx: AgentContextData, options?: { mode?: "cold-start" | "default" | "rich"; }): string; //# sourceMappingURL=agent-context.d.ts.map