import type { Lix } from "../lix/index.js"; import type { LixCommit } from "../commit/schema-definition.js"; import { type LixVersion } from "../version/schema-definition.js"; /** * Transitions a version to the target commit through the engine router. * * @param args.lix - Lix instance that exposes `lix.call`. * @param args.to - Target commit to transition towards. * @param args.version - Optional version override; defaults to the active version. * * @example * ```ts * await transition({ lix, to: checkpoint }) * ``` */ export declare function transition(args: { lix: Lix; to: Pick; version?: Pick; }): Promise; //# sourceMappingURL=transition.d.ts.map