import type { LixEngine } from "../../engine/boot.js";
/**
 * Commits all transaction changes to permanent storage.
 *
 * This function handles the COMMIT stage of the state mutation flow. It takes
 * all changes accumulated in the transaction table (lix_internal_transaction_state),
 * creates commits for each version with data changes, and then creates a global
 * commit containing all the graph metadata (commits, changesets, edges, version updates).
 *
 * @example
 * // After accumulating changes via insertTransactionState
 * commit({ engine });
 * // All pending changes are now persisted
 */
export declare function commit(args: {
    engine: Pick<LixEngine, "hooks" | "executeSync" | "runtimeCacheRef" | "sqlite">;
}): number;
//# sourceMappingURL=commit.d.ts.map