Version: 2.0.0-alpha.12.0.0-alpha.22.0.0-alpha.32.0.0-alpha.42.0.0-alpha.62.0.0-alpha.72.0.0-alpha.82.0.0-alpha.92.0.0-alpha.102.0.0-alpha.112.0.0-alpha.122.0.0-alpha.132.0.0-alpha.142.0.0-alpha.152.0.0-alpha.162.0.0-alpha.172.0.0-alpha.182.0.0-alpha.192.0.0-alpha.202.0.0-alpha.212.0.0-alpha.222.0.0-alpha.232.0.0-alpha.242.0.0-alpha.252.0.0-alpha.262.0.0-alpha.272.0.0-alpha.282.0.0-alpha.292.0.0-alpha.302.0.0-alpha.312.0.0-alpha.322.0.0-alpha.332.0.0-alpha.342.0.0-alpha.352.0.0-alpha.362.0.0-alpha.372.0.0-alpha.382.0.0-alpha.392.0.0-alpha.402.0.0-alpha.412.0.0-alpha.422.0.02.0.12.0.22.1.02.2.02.2.12.2.22.3.02.4.02.4.12.5.02.6.02.7.03.0.0-pre.13.0.0-pre.23.0.0-pre.33.0.0-pre.43.0.0-pre.53.0.0-pre.63.0.0-pre.73.0.0-pre.83.0.0-pre.93.0.0-pre.103.0.0-pre.113.0.0-pre.123.0.0-pre.133.0.0-pre.143.0.0-pre.153.0.0-pre.163.0.0-pre.173.0.0-pre.183.0.0-pre.193.0.0-pre.203.0.0-pre.213.0.0-pre.223.0.0-pre.233.0.0-pre.243.0.0-pre.253.0.03.0.13.0.23.1.03.1.13.1.23.1.33.2.03.2.13.2.23.2.33.2.4
/**
* @license
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io/PATENTS.txt
*/
import { FileRelativeUrl } from '../model/model';
* Resolves module specifiers using node module resolution.
*
* Full URLs - those parsable by the WHATWG URL spec - are returned as-is.
* Absolute and relative paths are resolved, even though they are valid
* HTML-spec module specifiers, because node resolution supports directories
* and omitting extensions. If a specifier doesn't resolve, it's returned as-is.
* @param componentInfo An object describing a "component-style" URL layout. In
* this layout, cross-package URLs reach out of the package directory to
* sibling packages, rather than into the component directory. When given,
* this parameter causes relative paths to be returns for this style.
export declare const resolve: (specifier: string, documentPath: string, componentInfo?: {
packageName: string;
rootDir: string;
componentDir: string;
} | undefined) => FileRelativeUrl;