/**
 * Load all files from a directory.
 * @param dirPath The path of the directory to load the files from.
 * @returns The loaded files.
 * @internal
 */
export declare function loadFiles<T>(dirPath: string): Promise<{
    default: T;
}[]>;
export declare function magicImport(path: string): Promise<any>;
