import type { Insertable, Selectable, Updateable } from "kysely";
import type { LixEngine } from "../../engine/boot.js";
import type { StateByVersionView } from "./state-by-version.js";
export type StateView = Omit<StateByVersionView, "version_id">;
export type StateRow = Selectable<StateView>;
export type NewStateRow = Insertable<StateView>;
export type StateRowUpdate = Updateable<StateView>;
/**
 * Creates the public 'state' view filtered to the active version, and
 * INSTEAD OF triggers that forward writes to state_by_version (which proxies to the vtable).
 */
export declare function applyStateView(args: {
    engine: Pick<LixEngine, "sqlite">;
}): void;
//# sourceMappingURL=state.d.ts.map