import type { Patch } from "./patch"; export type LiveAction = "CREATE" | "UPDATE" | "DELETE"; export declare namespace LiveResult { type Data = { id: string | object; action: LiveAction; record: string | object; result: TResult; }; type Diff = { id: string | object; action: "CREATE" | "UPDATE"; record: string | object; result: TPatch; } | { id: string | object; action: "DELETE"; record: string | object; result: TResult; }; } export type LiveResult = LiveResult.Data | LiveResult.Diff; export declare namespace LivePayload { type Data = { action: LiveAction; record: string | _TThing; result: TResult; }; type Diff = { action: "CREATE" | "UPDATE"; record: string | _TThing; result: TPatch; } | { action: "DELETE"; record: string | _TThing; result: TResult; }; } export type LivePayload = LivePayload.Data | LivePayload.Diff; //# sourceMappingURL=live-query.d.ts.map