import { Compilation } from 'webpack'; import type { Options, Meta } from '@ray-core/types'; import SourceCache from '../../../../../SourceCache'; import ComponentEntry from '../../../../entries/ComponentEntry'; export declare function createRenderOptions(componentPath: string, compilation: Compilation, options: Options): { components: Map; skipComponents: string[]; slotView: { props: string[]; }; }; export default function createComponentTemplate(component: ComponentEntry, options: Options, meta: Meta, compilation: Compilation, cache: SourceCache): Promise;