import { vi } from "vitest";
export interface CapturedEmit {
    tag: string;
    level: "info" | "error" | "warn" | "debug";
    line: string;
}
export interface EmitCapture {
    fetchSpy: ReturnType<typeof vi.fn>;
    captures: () => CapturedEmit[];
    restore: () => void;
}
export declare function setupEmitCapture(port?: string): EmitCapture;
/**
 * Build a Neo4j Session stub whose `.run()` returns records constructed from
 * row objects. Each call to `.run()` consumes the next entry from rowSequence.
 * A row is a plain object — its keys are accessed by `record.get(key)`.
 */
export declare function makeMockSession(rowSequence?: Array<Array<Record<string, unknown>>>): {
    run: import("vitest").Mock<import("@vitest/spy").Procedure>;
    close: import("vitest").Mock<import("@vitest/spy").Procedure>;
};
//# sourceMappingURL=emit-capture.d.ts.map