/** * The Pi adapter. It fills both roles of the port: it reads Pi sessions into the canonical * vocabulary, and it writes canonical sessions back into files Pi can open. * * It never writes a file — `serialize` hands `PendingFile` values to `src/import/landing/` * (FR-49, FR-53) — never opens a source session for writing (NG-1, AC-4), never calls Pi's * model, and never opens a network connection (FR-8). */ import type { AgentAdapter } from "./contract.js"; import { type PiSerializeDeps } from "./serialize.js"; export interface PiAdapterDeps extends PiSerializeDeps { /** Pi's own default agent directory. Overridden only by tests. */ defaultHome(): string; } export declare function createPiAdapter(overrides?: Partial): AgentAdapter;