import type { ModelDefinition } from './registry-types.js';
export declare function withRegistryKey(model: ModelDefinition): ModelDefinition;
export declare function splitModelRegistryKey(modelId: string): {
    providerId: string;
    resolvedModelId: string;
};
export declare function getBaseModelId(modelId: string): string;
/**
 * Key-order-independent JSON serialisation used for model diff comparisons.
 * Recursively sorts object keys so that { a: 1, b: 2 } and { b: 2, a: 1 }
 * produce the same string.
 */
export declare function stableStringify(value: unknown): string;
//# sourceMappingURL=registry-helpers.d.ts.map