import { type ExtensionAPI, type ExtensionFactory, type SettingsManager } from "@earendil-works/pi-coding-agent"; import { deriveThresholds } from "./context/thresholds.js"; import { mergePiContextSettings } from "./settings.js"; import { assertVirtualPath } from "./notes/address.js"; export { historyFromSession } from "./history/history.js"; /** * Create an extension factory bound to an SDK settings authority. The host must pass * the same manager to createAgentSession and to this factory's resource loader. */ export declare function createPiContext(options?: { settingsManager?: SettingsManager; }): ExtensionFactory; /** The Pi-discovered extension keeps the standard file-backed settings behavior. */ export default function piContext(pi: ExtensionAPI): void; export declare const internal: { MAX_NOTE_BYTES: number; BOOT_TYPE: string; GUIDANCE_TYPE: string; WARNING_TYPE: string; CONTINUATION_TYPE: string; WARNING_PROMPT: string; WARNING_CONTENT: string; WARNING_RUNWAY_TOKENS: number; RESET_MARKER_TYPE: string; CONTINUATION: string; CONTEXT_WINDOW_OPEN_TAG: string; CONTEXT_WINDOW_CLOSE_TAG: string; CONTEXT_WINDOW_PROTOCOL_OPEN_TAG: string; CONTEXT_WINDOW_PROTOCOL_CLOSE_TAG: string; GUIDANCE_OPEN_TAG: string; PI_CONTEXT_SETTINGS_KEY: string; DEFAULT_RESERVE_TOKENS: number; DEFAULT_REMINDER_MARGIN_TOKENS: number; deriveThresholds: typeof deriveThresholds; mergePiContextSettings: typeof mergePiContextSettings; assertVirtualPath: typeof assertVirtualPath; };