import { ProloadError } from './error'; import { PluginType, LoadOptions, Config } from './interface'; export { ProloadError }; export * from './interface'; /** * * @param {string} namespace * @param {import('../index').LoadOptions} opts */ declare function resolveConfig(namespace: string, opts?: LoadOptions): Promise; /** * * @param {string} namespace * @param {import('../index').LoadOptions} opts */ declare function load = Record>(namespace: string, opts?: LoadOptions): Promise | undefined>; declare namespace load { var plugins: PluginType[]; var use: (plugins: PluginType[]) => void; } export default load; export declare const proloadLoad: typeof load; export { resolveConfig as resolve };