/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { type ICodecOptions, type IJsonCodec } from "../codec/index.js";
import type { ChangeEncodingContext, ChangeFamilyCodec, EncodedRevisionTag, RevisionTag } from "../core/index.js";
import type { JsonCompatibleReadOnly } from "../util/index.js";
import type { DecodedMessage } from "./messageTypes.js";
import type { MessageEncodingContext } from "./messageCodecs.js";
export declare function makeV1ToV4CodecWithVersion<TChangeset>(changeCodec: ChangeFamilyCodec<TChangeset>, revisionTagCodec: IJsonCodec<RevisionTag, EncodedRevisionTag, EncodedRevisionTag, ChangeEncodingContext>, options: ICodecOptions, version: 1 | 2 | 3 | 4): IJsonCodec<DecodedMessage<TChangeset>, JsonCompatibleReadOnly, JsonCompatibleReadOnly, MessageEncodingContext>;
//# sourceMappingURL=messageCodecV1ToV4.d.ts.map