/** * @public */ export type FilterValueWithLabel = { value: string; label: string; }; /** * @public */ export type FilterValue = string | FilterValueWithLabel; /** * Ensure a value is on object form, with a label. * Accepts undefined, a single value, or an array of values and returns the * expected result - a filter value/label or an array of such, if any. */ export declare function ensureFilterValueWithLabel(value: T | T[] | undefined): typeof value extends undefined ? undefined : typeof value extends ArrayLike ? FilterValueWithLabel[] : FilterValueWithLabel;