import { Loader as L } from './Loader'; /** Fake Loader class inherited by plugins for correct typings. */ export declare const Loader: typeof L; export declare const loader: L; export declare type Loader = typeof loader; export interface LoaderConfig { baseURL?: string; plugins?: { [name: string]: Loader; }; registry?: { [name: string]: any; }; } export interface SystemDeclaration { setters?: ((val: any) => void)[]; execute?: () => any; exports?: any; } /** Convert URL to a local path. Strip protocol and possible origin, * use backslahes in file system paths on Windows. */ export declare function getLocal(resolvedKey: string): string; /** Strip query string, hash, last slash in path and anything after it * to get the directory part of a path or address. **/ export declare function getDir(key: string): string;