/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import type { TAnySchema } from "@sinclair/typebox";
import type { IJsonCodec } from "../../codec/index.js";
import { type ChangeEncodingContext, type EncodedRevisionTag, type RevisionTag } from "../../core/index.js";
import { type FieldChangeEncodingContext } from "../modular-schema/index.js";
import { EncodedOptionalChangeset } from "./optionalFieldChangeFormatV2.js";
import type { OptionalChangeset } from "./optionalFieldChangeTypes.js";
export declare function makeOptionalFieldCodec(revisionTagCodec: IJsonCodec<RevisionTag, EncodedRevisionTag, EncodedRevisionTag, ChangeEncodingContext>): IJsonCodec<OptionalChangeset, EncodedOptionalChangeset<TAnySchema>, EncodedOptionalChangeset<TAnySchema>, FieldChangeEncodingContext>;
//# sourceMappingURL=optionalFieldCodecV2.d.ts.map