export default class ResourceUtil { static getRootFolder(projectNamespace?: string): string; static relativeToRoot(resourcePath: string, projectNamespace?: string): string; static getResourcePath(projectNamespace?: string, ...paths: string[]): string; static write(dir: string, files: Map): Promise; static writeInProject(dir: string, files: Map): Promise; static byGlob(dir: string, pattern: string, excludes?: string[]): Promise>; static byGlobInProject(pattern: string, excludes?: string[]): Promise>; static getString(resource: any): Promise; static getJson(resource: any): Promise; static setString(resource: any, str: string): void; static createResource(filename: string, projectNamespace: string, content: string): any; static toFileMap(resources: ReadonlyArray, projectNamespace?: string): Promise>; }