/** * Human-readable summary of a field's selected filter values for a chip / row. * Resolves option labels, unwraps the wire operators * (`IN:`/`ILIKE:`/`RANGE:`/`GTE:`/`LTE:`/date `from_to`), and caps the list at * `maxShown` values with a `+n` overflow. Pure — exported for unit tests. */ export declare function summarizeFilterValues(values: string[] | undefined, options: { label: string; value: string; }[] | undefined, maxShown?: number): string; /** * The color of a filter's first selected value (for the chip's dot) — e.g. a * stage's palette color. Returns a resolved CSS color, or undefined for * operator/range/free-text values that carry no option color. */ export declare function chipValueColor(config: { selectedValues: string[]; options: { value: string; color?: string; }[]; }): string | undefined; /** * Translates option labels through the app translator (manifest i18n keys → * localized text). A raw value with no matching key falls through to itself via * `defaultValue`. Pure — exported for unit tests. */ export declare function translateOptionLabels(options: T[], translate: (key: string) => string): T[]; export interface FilterChipField { key: string; label: string; config: { selectedValues: string[]; options: { label: string; value: string; color?: string; }[]; filterKey: string; onFilterChange: (filterKey: string, values: string[]) => void; }; } export interface FilterChipsRowProps { /** Fields with an active selection (one chip each). */ fields: FilterChipField[]; /** Clears every filter (the trailing "Limpiar todo"). */ onClearAll: () => void; className?: string; 'data-testid'?: string; } /** * The removable active-filter chip row shown under a board/table toolbar. Each * chip: an optional value-color dot, "Campo: valor(es)" (capped + `+n`), and an * X that clears that field; a trailing "Limpiar todo". Renders nothing when no * field is active. */ export declare function FilterChipsRow({ fields, onClearAll, className, 'data-testid': testId, }: FilterChipsRowProps): import("react").JSX.Element | null; //# sourceMappingURL=filter-chips.d.ts.map