import type { Transport } from './transport.js'; export interface BridgeResult { status: number; body: string; } /** Decode a POST body as a SourceRequest and run it through `transport`, * returning the HTTP status + JSON-encoded RawResponse the bridge should send * back. Never throws — a malformed body or a transport failure both come back * as a RawResponse with ok:false. */ export declare function runSourceRequest(transport: Transport, rawBody: string): Promise;