import type { LixChangeRaw } from "../../change/schema-definition.js";
import type { LixEngine } from "../../engine/boot.js";
/**
 * Change data for untracked state updates with optional ID.
 * Since untracked entities don't participate in change control,
 * the change ID is not required.
 */
export type UntrackedChangeData = Omit<LixChangeRaw, "id"> & {
    id?: string;
    /** target version for the untracked update (column maps to version_id) */
    lixcol_version_id: string;
};
/**
 * Updates untracked state with inheritance support.
 *
 * This function handles all untracked entity operations (insert, update, delete)
 * while maintaining inheritance behavior similar to tracked entities but completely
 * isolated from the change control cache system.
 *
 * Inheritance Logic:
 * - Direct entities: Stored with inherited_from_version_id: null
 * - Inherited entities: Visible through parent version queries
 * - Deletions:
 *   - Direct entities: Remove from untracked table
 *   - Inherited entities: Create tombstone with is_tombstone: 1
 *
 * @param args - Update parameters
 * @param args.lix - Lix instance with sqlite and db
 * @param args.change - Change object containing entity information (ID is optional since untracked entities don't participate in change control)
 * @param args.version_id - Version ID to update
 */
export declare function updateUntrackedState(args: {
    engine: Pick<LixEngine, "executeSync" | "runtimeCacheRef">;
    changes: UntrackedChangeData[];
}): void;
//# sourceMappingURL=update-untracked-state.d.ts.map