/**
 * 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 { AddressableService, RequestOutputTypes } from '@webruntime/api';
/**
 * Addressable service responsible for generating view modules
 * from the Communities template metadata
 */
export declare class ViewService extends AddressableService {
    get mappings(): any;
    constructor();
    initialize(): Promise<void>;
    request(specifier: any, pivots: any, { compilerConfig }: {
        compilerConfig: any;
    }): Promise<{
        type: RequestOutputTypes;
        specifier: any;
        success: boolean;
        diagnostics: {
            code: string;
            message: string;
            level: number;
        }[];
        resource?: undefined;
        metadata?: undefined;
    } | {
        type: RequestOutputTypes;
        specifier: any;
        resource: import("@lwc/compiler").CompileResult | undefined;
        metadata: {
            dependencies: string[];
            dynamicImports: import("@webruntime/compiler").DynamicImport[];
        };
        success: boolean;
        diagnostics: import("@lwc/errors").CompilerDiagnostic[];
    }>;
    toSpecifier(url: any): string;
}
//# sourceMappingURL=view-service.d.ts.map