export type Matcher = string | RegExp | { prefix: string; } | ((value: string) => boolean); export declare function matches(matcher: Matcher | undefined, value: string): boolean;