/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { TAnySchema } from "@sinclair/typebox";
import { IJsonCodec } from "../../codec/index.js";
import { ChangeEncodingContext, EncodedRevisionTag, RevisionTag } from "../../core/index.js";
import { type FieldChangeEncodingContext } from "../modular-schema/index.js";
import { EncodedOptionalChangeset } from "./optionalFieldChangeFormatV1.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=optionalFieldCodecV1.d.ts.map