export type TypeMatchSelectorFunction = (this: any, ...args: any[]) => boolean; export type TypeMatchSelectorRule = T | RegExp | TypeMatchSelectorFunction; export type TypeMatchSelectorRules = TypeMatchSelectorRule[] | TypeMatchSelectorRule; export declare function matchSelector(match: TypeMatchSelectorRules, selector: string | boolean, matchThis?: any, ...matchArgs: any[]): any;