export default function createMatcher(pattern: string[] | string | undefined): (file: string) => boolean;