///
import { PromiseType } from './type';
export declare const checkPattern: (rootPath: string, pattern: string) => Promise<{
matchs: {
name: string;
index: number;
ban?: boolean;
}[];
content: string;
dirent: import("@nodelib/fs.scandir").Dirent;
name: string;
path: string;
stats?: import("fs").Stats;
}[]>;
export declare type FileNode = PromiseType>;