import type { KernelRecord } from "./types.js"; interface MockRecord extends KernelRecord { id: string; actor: string; act: string; body: Record; clock: number; thread: string; parents: string[]; data_type: string; } export declare class MockKernel { readonly records: MockRecord[]; private readonly threads; private sequence; private failNextPost; private failNextGet; readonly fetch: typeof fetch; private ingest; private filterRecords; recordsIn(thread: string): MockRecord[]; recordsByKind(kind: string): MockRecord[]; recordsByActor(actor: string): MockRecord[]; count(): number; clear(): void; failNextPostCall(n?: number): void; failNextGetCall(n?: number): void; } export {};