import { type FilterTree } from "@olenbetong/appframe-core"; import type { FilterEditorSize } from "./types.js"; export type FilterStringFieldProps = { filter: FilterTree; onChange: (filter: FilterTree) => void; viewName?: string; readOnly?: boolean; "data-size"?: FilterEditorSize; }; /** * Two-way filter string editor. The tree is the source of truth: it is * converted to a string whenever it changes. Editing the string and leaving the * field parses it back into a tree. */ export declare function FilterStringField({ filter, onChange, viewName, readOnly, "data-size": size, }: FilterStringFieldProps): import("react").JSX.Element;