import { DropdownOption } from './option';
export declare function toggleValue<T>(list: T[], value: T, equality: (a: T, b: T) => boolean): T[];
export declare function removeValue<T>(list: T[], value: T, equality: (a: T, b: T) => boolean): T[];
export declare function containsValue<T>(list: T[], value: T, equality: (a: T, b: T) => boolean): boolean;
export declare function findOptionByValue<T>(options: DropdownOption<T>[], target: T, equality: (a: T, b: T) => boolean): {
    label: string;
} | undefined;
export declare function getLabelByValue<T>(options: DropdownOption<T>[], target: T, equality: (a: T, b: T) => boolean): string;
export declare function filterOptionsByQuery<T>(options: DropdownOption<T>[], query: string, predicate?: (q: string, opt: {
    label: string;
}) => boolean): DropdownOption<T>[];
