import type { DataDomain, DataDomainSchema } from './DataDomain.js';
import type { SerializedGraph } from './types.js';
/**
 * Serializes a DataDomain for version release, including only relevant foreign nodes.
 * @param root The DataDomain to serialize.
 * @param version The version to set in the serialized graph. This mutates the DataDomain.
 * @returns The serialized graph with the version set.
 */
export declare function createGraphVersion(root: DataDomain, version: string): DataDomainSchema;
/**
 * Serializes a DataDomain for version release, including only relevant foreign nodes.
 *
 * @param dataDomain The DataDomain to serialize.
 * @returns A SerializedGraph containing the versioned data.
 */
export declare function serializeForVersionRelease(dataDomain: DataDomain): SerializedGraph;
//# sourceMappingURL=DomainVersioning.d.ts.map