import { Json, JsonValue } from "./Json.js"; import { Id, Key } from "./Id.js"; import { List } from "./List.js"; import { PageList } from "./PageList.js"; import { FetchOptions } from "./Gateway.js"; //#region src/types/Repository.d.ts export declare class Repository { all(options?: Options): Promise>; byId(id: Id): Promise; byIds(...ids: Id[]): Promise>; byKey(key: Key, options?: Options): Promise>; by(key: keyof T, value: JsonValue, options?: Options): Promise>; search(q: JsonValue, options?: Options): Promise>; filter(options?: Options): Promise>; exists(id: Id): Promise; add(t: Partial | Json): Promise; update(id: Id, json: Partial | Json): Promise; remove(id: Id): Promise; upsert(id: Id, item: Partial | Json): Promise; } //#endregion //# sourceMappingURL=Repository.d.ts.map