import type { SelectQueryBuilder } from "kysely"; import type { Lix } from "../lix/open-lix.js"; import { LixObservable } from "./lix-observable.js"; /** * Options for the observe method. */ export interface ObserveOptions { mode?: "array" | "first" | "firstOrThrow"; } /** * Creates the observe function for a Lix instance. * * @param lix - The Lix instance to add observables to * @returns The observe function */ export declare function createObserve(lix: Pick): (query: SelectQueryBuilder, options?: ObserveOptions) => LixObservable; //# sourceMappingURL=create-observe.d.ts.map