type Function = (...args: any[]) => any;
type ResolveContext = {
    conditions: string[];
    importAttributes: {};
    parentURL: string;
};
type ResolveResponse = {
    [key: string]: any;
    shortCircuit?: boolean;
};
/**
 * @summary resolve is a built-in hook that allows you to intercept and modify the
 * ResolveResponse of a module specifier. Function that takes in a normal
 * import (i.e. an import path), detects a DMI, converts to a DRL and fetches the resource.
 * @param specifier either normal code import or DMI (e.g. @drpm/packageName~method~id)
 * @param context pre-defined argument required for the resolve hook
 * @param defaultResolve pre-defined argument required for the resolve hook
 * @returns a promise that resolves to a ResolveResponse object
 */
export declare function resolve(specifier: string, context: ResolveContext, defaultResolve: Function): Promise<ResolveResponse>;
export declare function load(url: string, context: any, defaultLoad: Function): Promise<any>;
export {};
//# sourceMappingURL=hooks.d.ts.map