import type { Generated, Insertable, Selectable, Updateable } from "kysely"; import type { LixEngine } from "../../engine/boot.js"; export type StateByVersionView = { entity_id: string; schema_key: string; file_id: string; plugin_key: string; snapshot_content: Record; schema_version: string; version_id: string; created_at: Generated; updated_at: Generated; inherited_from_version_id: string | null; change_id: Generated; untracked: Generated; commit_id: Generated; writer_key: string | null; metadata: Generated | null>; }; export type StateByVersionRow = Selectable; export type NewStateByVersionRow = Insertable; export type StateByVersionRowUpdate = Updateable; /** * Creates the public state_by_version view (no tombstones) over the internal vtable, * plus INSTEAD OF triggers to forward writes to the internal vtable. */ export declare function applyStateByVersionView(args: { engine: Pick; }): void; //# sourceMappingURL=state-by-version.d.ts.map