import { IFileSupportInfo } from "./IFileSupportInfo"; import { IFileSupport } from "./IFileSupport"; import { StringOrFunction } from "@allgemein/base"; /** * FileSupport */ export declare class FileSupport { static DEFAULT_TYPES: StringOrFunction[]; private static $supports; /** * Loades classes in *.js or *.ts files from given directories, verifing if they implement the * IConfigReader interface. For each valid class an info entry is created and added to $reader * * @param directories */ static reload(directories?: StringOrFunction | StringOrFunction[]): boolean; static getSupportedTypes(force_all?: boolean): string[]; static amount(): number; static getInfoByExtension(ext: string): IFileSupportInfo; static getSupportByExtension(ext: string): IFileSupport; static reset(): void; }