/**
 * 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 component modules
 * in design mode
 */
export declare class DesignComponentService extends AddressableService {
    get mappings(): any;
    constructor();
    initialize(): Promise<void>;
    /**
     * Handle design component requests
     */
    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/dist/types/compiler/compiler").BundleResult | undefined;
        metadata: {
            dependencies: string[];
            dynamicImports: import("@webruntime/compiler").DynamicImport[];
        };
        success: boolean;
        diagnostics: import("@lwc/errors").CompilerDiagnostic[];
    }>;
    toSpecifier(url: any): string;
}
//# sourceMappingURL=design-component-service.d.ts.map