1 | export interface Config {
|
2 | ignoreCase?: boolean | undefined;
|
3 | ignoreAccents?: boolean | undefined;
|
4 | stringify?: ((obj: any) => string) | undefined;
|
5 | trim?: boolean | undefined;
|
6 | matchFrom?: 'any' | 'start' | undefined;
|
7 | }
|
8 |
|
9 | import { stripDiacritics } from './diacritics';
|
10 |
|
11 | export interface Option {
|
12 | label: string;
|
13 | value: string;
|
14 | data: any;
|
15 | }
|
16 |
|
17 | export function createFilter(config: Config | null): (option: Option, rawInput: string) => boolean;
|