import type { Generated } from "kysely";
import type { LixEngine } from "../../engine/boot.js";
export declare function setHasOpenTransaction(engine: Pick<LixEngine, "runtimeCacheRef">, value: boolean): void;
export declare function hasOpenTransaction(engine: Pick<LixEngine, "runtimeCacheRef" | "sqlite">): boolean;
export type InternalStateVTable = {
    _pk: Generated<string>;
    source_tag: Generated<string>;
    entity_id: string;
    schema_key: string;
    file_id: string;
    version_id: string;
    plugin_key: string;
    snapshot_content: string | null;
    schema_version: string;
    created_at: Generated<string>;
    updated_at: Generated<string>;
    inherited_from_version_id: string | null;
    change_id: Generated<string>;
    untracked: number;
    commit_id: Generated<string>;
    metadata: string | null;
    writer_key: string | null;
};
export declare function applyStateVTable(engine: Pick<LixEngine, "sqlite" | "hooks" | "executeSync" | "runtimeCacheRef" | "preprocessQuery">): void;
export declare function handleStateDelete(engine: Pick<LixEngine, "executeSync" | "hooks" | "runtimeCacheRef" | "sqlite">, primaryKey: string, timestamp: string): void;
//# sourceMappingURL=vtable.d.ts.map