import { type SchemaField } from '@overture-stack/lectern-dictionary'; /** * Given a string value, look for any matching values in code list restrictions and return that * value. This is used by the convertValue functions to ensure the value returned matches the letter * cases of the corresponding value in the code list. * * @example * // Given a field `fieldWithCodeList` that has a code list restriction `["Apple", "Banana"]` * const originalValue = 'banana'; * const matchingValue = matchCodeListFormatting(originalValue, fieldWithCodeList); * * // matchingValue will equal `Banana`; * * @param value * @param fieldDefinition * @returns */ export declare function matchCodeListFormatting(value: string, fieldDefinition: SchemaField): string;