import { File, JsLoaderOptions } from './file'; interface Resolver { resolve: (context: any, path: string, request: string, resolveContext: any, callback: any) => void; } export declare type Resolved = { absPath: string; pkgPath: string; pkg: any; warning: string; }; export declare function resolveSync(from: string, request: string, resolver?: Resolver): Resolved; export declare function load(workingDirectory: string, request: string, options?: Partial): File | { warning: string; }; export {};