import { default as React } from 'react'; import { SchemaConditionItem } from '../utils'; /** * This function renders the value input for a condition item based on its matcher and its field. * * > // TODO: **NOTE** the kind of Component depends on the matcher used and the field used. For example, if the matcher is `eq` and the field is `email`, then it should be an email input. Or if the matcher is `gt` and the field is `created_at`, then it should be a date input. * > https://docs.commercelayer.io/rules-engine/matchers#value-required */ export declare function ConditionValue({ item, pathPrefix, }: { item: SchemaConditionItem | null; pathPrefix: string; }): React.ReactNode;