10 lines
402 B
TypeScript
10 lines
402 B
TypeScript
|
|
import type { PropagationHint } from '../../@types/astro';
|
||
|
|
import type { AstroComponentFactory } from './render/index.js';
|
||
|
|
interface CreateComponentOptions {
|
||
|
|
factory: AstroComponentFactory;
|
||
|
|
moduleId?: string;
|
||
|
|
propagation?: PropagationHint;
|
||
|
|
}
|
||
|
|
export declare function createComponent(arg1: AstroComponentFactory | CreateComponentOptions, moduleId?: string): AstroComponentFactory;
|
||
|
|
export {};
|