/**
 * # cli/backend/mock — the TRUTHFUL in-process contract server (kestrel-5rb).
 *
 * A `fetch(url, init) → Response` that serves the EXACT platform contract
 * (kestrel.markets): the M1 routes, **snake_case** wire bodies, the structured
 * 402/OfferResponse for the paid-dataset boundary, a canonical resumable SSE stream
 * whose events are the `operation.*` {@link ./wire.ts OperationEvent.type} vocabulary
 * with **opaque-STRING** `id:` cursors, and `Idempotency-Key` effect-once replay.
 * Inject into RemoteBackend (`{ baseUrl, fetch: mockFetch }`) → the whole CLI runs
 * in CI with no real API.
 *
 * It shares its wire shapes and SSE event names with {@link ./remote.ts} through
 * `wire.ts` — one definition of the dialect for client AND server — so this mock can
 * never again hand-roll a fabricated dialect that hides a divergence (the failure
 * mode kestrel-5rb was filed to kill). The route/shape/vocabulary conformance is
 * independently pinned to the platform OpenAPI fixture by
 * `tests/cli.remote-conformance.test.ts`.
 */
/** The contract fetch handler. Pass to RemoteBackend as `fetch`. */
export declare function mockFetch(url: string, init?: RequestInit): Promise<Response>;
export declare const CONTRACT_PROTOCOL_VERSION: "0.4";
//# sourceMappingURL=mock.d.ts.map