import type { MetafieldField } from '../ports/lookup.js'; import type { DescriptionDeps } from './description.js'; import type { CellResult } from './parsers.js'; /** * A custom-field cell (`metafield:.`) read as a value of its * definition (ยง 5.9): text for the text types, a number, a boolean, a date, a * color, the editor's rows for rich text, JSON for a group. A list of scalars * is `|`-separated, a list of groups or of rich texts is a JSON array. The cell is * already trimmed and not blank. The value is in the form core stores; whether it * also passes the validations of the definition is the check of the store * (`StoredMetafield.check`), which this does not know. */ export declare function convertMetafieldCell(field: MetafieldField, text: string, deps: DescriptionDeps): CellResult;