/// <reference types="node" />
import { ComponentType } from './componentTargets';
import { DiagnosticHandler } from './diagnostics';
export default function compile({ component, entryPoint, outputDir, defaultLanguage, allowUnknownExternals, onDiagnostic, }: {
    component: ComponentType;
    entryPoint: string;
    outputDir?: string;
    defaultLanguage: string;
    allowUnknownExternals?: boolean;
    onDiagnostic?: DiagnosticHandler;
}): import("stream").Readable;
