import type { Lix } from "../lix/open-lix.js";
import type { LixVersion } from "./schema-definition.js";
/**
 * Creates a new version branching from a version's commit id (defaults to active when `from` is omitted).
 *
 * For branching from a specific commit id, use `createVersionFromCommit`.
 */
export declare function createVersion(args: {
    lix: Lix;
    id?: LixVersion["id"];
    name?: LixVersion["name"];
    from?: LixVersion | Pick<LixVersion, "id">;
    inheritsFrom?: LixVersion | Pick<LixVersion, "id"> | null;
}): Promise<LixVersion>;
//# sourceMappingURL=create-version.d.ts.map