import { File, JsLoaderOptions } from './file';
export declare type Resolved = {
    absPath: string;
    pkgPath: string;
    pkg: any;
    warning: string;
};
export declare function resolveSync(from: string, request: string): Resolved;
export declare function resolve(from: string, request: string): Promise<Resolved>;
export declare function load(workingDirectory: string, request: string, options?: Partial<JsLoaderOptions>): File | {
    warning: string;
};
