/** @hidden */ /** * Copyright (c) 2019, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT */ import { BootstrapResourceList, Config, RequestParams, WebruntimePage } from '@webruntime/api'; import { Container } from '../container/container'; /** * Generates an ordered list of bootstrap resources required to bootstrap the given specifier: * * eg: BootstrapResourceList = { * specifier: "webruntime/app", * resources: [ * { * .. header styles .. * }, * { * specifier: "framework://webruntime" * type: "text/javascript", * path: "/js/webruntime/dev/uid/webruntime.js" * }, * { * specifier: "importmap", * type: "webruntime-importmap", * path: "/js/webruntime/dev/", * code: "{ * imports: { * "webruntime/app": "/path/to/service" * } * }" * }, * { * .. scripts .. * }, * { * specifier: "force/lds", * type: "webruntime-module", * path: "/js/components/dev/latest/en-US/force/lds" * }, * { * specifier: "@webruntime/bootstrap", * type: "webruntime-module", * path: "/js/components/dev/latest/en-US/webruntime/appinjector" * } * ] * } * */ export declare function generate(specifier: string, pivots: RequestParams, container: Container, config: Config, page?: WebruntimePage): Promise; //# sourceMappingURL=bootstrap-resource-generator.d.ts.map