import type { ImportServiceDeps } from '../../../services/jobs/ImportService.js'; import { CollectingLogger } from '../../../testing/CollectingLogger.js'; import { MemoryFileStore } from '../../../testing/MemoryFileStore.js'; import { MemoryJobStore } from '../../../testing/MemoryJobStore.js'; import type { HttpResult, ImportWeb } from '../../../web/ImportWeb.js'; export interface WebHarness { web: ImportWeb; store: MemoryJobStore; files: MemoryFileStore; logger: CollectingLogger; names: Map; } /** An `ImportWeb` over the doubles of `testing/`: the handlers run without a server. */ export declare function makeWeb(options?: Partial & { limits?: { maxRows: number; maxCellLength: number; }; }): WebHarness; /** The JSON body of an answer. */ export declare function bodyOf(result: HttpResult): any; /** A stream answer, read to the end. */ export declare function textOf(result: HttpResult): Promise;