/**
 * HttpBrainAdapter — BrainPort implementation backed by the Brain REST API.
 *
 * Provides concrete implementations of `archivePostmortem` and `archiveLesson`
 * that delegate to `archiveKnowledge` with the reserved category + tag
 * conventions defined in the campaign orchestrator design (Phase 9).
 *
 *   - postmortem: category `vauban_postmortem`, tags `["postmortem", "campaign:<slug>", "outcome:<outcome>"]`
 *   - lesson:     category `vauban_lesson`,     tags `["lesson", ...applies_to]`
 *
 * Auth: OAuth 2.1 bearer token (BRAIN_TOKEN env var) or x-api-key
 * (BRAIN_API_KEY env var). At least one must be present.
 */
import type { BrainPort } from "../ports/brain.js";
export interface HttpBrainAdapterOptions {
    /** Brain REST API base URL (e.g. https://brain.api.vauban.tech). */
    baseUrl: string;
    /** Brain instance UUID. */
    brainId: string;
    /** OAuth 2.1 bearer token. Takes precedence over apiKey. */
    token?: string;
    /** x-api-key fallback (legacy). */
    apiKey?: string;
    /** Request timeout in milliseconds (default: 10 000). */
    timeoutMs?: number;
}
/**
 * Create an HTTP-backed BrainPort.
 *
 * Includes concrete `archivePostmortem` and `archiveLesson` helpers that
 * delegate to `archiveKnowledge` with reserved categories / tag conventions.
 */
export declare function createHttpBrainAdapter(opts: HttpBrainAdapterOptions): BrainPort;
//# sourceMappingURL=brain-http.d.ts.map