import { type FieldMetadata, type FilterExpression } from "@olenbetong/appframe-core"; import type { FilterEditorSize, FilterValueOption } from "./types.js"; export type FilterValueEditorProps = { expression: FilterExpression; field?: FieldMetadata; options?: FilterValueOption[]; onChange: (expression: FilterExpression) => void; readOnly?: boolean; "data-size"?: FilterEditorSize; }; /** * The value part of a filter row. Which editor is rendered depends on the * operator's arity, the field's type, and whether the value is a dynamic * ("special") value such as `Today` or `CurrentUser`. */ export declare function FilterValueEditor({ expression, field, options, onChange, readOnly, "data-size": size, }: FilterValueEditorProps): import("react").JSX.Element | null;