import { type KnowledgeAdapter, type KnowledgePosture } from "@vendoai/core"; export interface HttpKnowledgeOptions { /** The endpoint base: the five `vendo/knowledge-wire@1` paths are appended directly (`/search`, `/status`, …). */ url: string; auth?: { bearer?: string; }; /** Injectable transport (tests point this at an in-process fake server). */ fetch?: typeof fetch; /** Overrides onto the read-only search-only default — declare exactly what the endpoint implements; the conformance suite verifies the claim. */ posture?: Partial; } /** The BYO template: any host endpoint — any language — implementing the * `vendo/knowledge-wire@1` routes is a first-class knowledge engine. Partial * implementations are first-class too: a search-only endpoint declares the * default posture and the optional adapter members are simply absent (`fetch` * missing ⇒ read-more gracefully absent; `write: false` ⇒ `vendo knowledge * sync` refuses loudly to push). The reference server implementation lives in * this package's `cloud.test-util.ts` fake — one handler, wire-schema-validated. */ export declare function httpKnowledge(options: HttpKnowledgeOptions): KnowledgeAdapter; //# sourceMappingURL=http.d.ts.map