import { Json, JsonValue } from "../types/Json.js"; import { Id } from "../types/Id.js"; import { Optional } from "../types/Types.js"; import { PageList } from "../types/PageList.js"; import { FetchOptions, Gateway } from "../types/Gateway.js"; //#region src/data/InMemoryGateway.d.ts export declare class InMemoryGateway extends Gateway { private readonly data; constructor(data: Promise>); all(options?: FetchOptions): Promise>; byId(id: Id): Promise>; by: (key: string, value: JsonValue) => Promise>; exists(id: Id): Promise; add(item: Json): Promise; remove(id: Id): Promise; update(item: Json): Promise; } //#endregion //# sourceMappingURL=InMemoryGateway.d.ts.map