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<Lix, "hooks">): <T>(query: SelectQueryBuilder<any, any, T>, options?: ObserveOptions) => LixObservable<T>;
//# sourceMappingURL=create-observe.d.ts.map