import type { ContentFields } from 'contentful-management'; /** Parse CLI token literals only (no numeric guessing). */ export declare function parseScalarToken(raw: string): string | boolean | null; /** Extract enum values from Symbol/Text field validations (same rules as schema command). */ export declare function getFieldEnumValues(fieldDef: ContentFields | undefined): string[] | undefined; /** * Returns an error message if value is not in the field enum; null if valid or no enum. */ export declare function validateScalarEnum(value: unknown, fieldDef: ContentFields | undefined, fieldId: string): string | null; /** * Coerce a CLI scalar token to the CMA value type for the field. * Symbol/Text always stay strings (no numeric guessing). */ export declare function coerceScalarForField(raw: string, fieldDef: ContentFields | undefined): string | boolean | number | null; /** * Coerce token and validate enum; throws with actionable message on failure. */ export declare function resolveScalarValueForField(raw: string, fieldDef: ContentFields | undefined, fieldId: string): string | boolean | number | null; //# sourceMappingURL=scalar-value.d.ts.map