type StringMatcherFunction = (str: string) => boolean | Promise; type StringMatcherOption = boolean | string | RegExp | StringMatcherFunction; export type StringMatcherOptions = StringMatcherOption | StringMatcherOption[]; type MatchStringFunction = (text: string) => Promise; export declare function stringMatcher(options?: StringMatcherOptions): MatchStringFunction; export {}; //# sourceMappingURL=string-matcher.d.ts.map