import { type FieldMetadata, type FilterPath, type FilterTree } from "@olenbetong/appframe-core"; import type { FilterEditorSize, GetFieldOptions } from "./types.js"; export type FilterGroupEditorProps = { /** The whole tree. Groups edit it through their own `path`. */ filter: FilterTree; /** Path to the group this editor renders. The root group is the empty path. */ path: FilterPath; fields: FieldMetadata[]; onChange: (filter: FilterTree) => void; getFieldOptions?: GetFieldOptions; readOnly?: boolean; "data-size"?: FilterEditorSize; }; /** * One group of the filter tree. Groups can be nested and each one combines its * items with either `and` or `or`, matching the advanced (DevExpress) filter * editor in the Windows client. * * A blank row is always rendered at the end; picking a field in it appends a * real condition to the group. */ export declare function FilterGroupEditor({ filter, path, fields, onChange, getFieldOptions, readOnly, "data-size": size, }: FilterGroupEditorProps): import("react").JSX.Element | null;