export declare function matches(text: string, pattern: string): boolean;