1 | import { DefineComponent } from 'vue';
|
2 | import { ComponentMountingOptions } from './mount';
|
3 | import { RenderMountingOptions } from './types';
|
4 | export declare function renderToString<T, C = T extends ((...args: any) => any) | (new (...args: any) => any) ? T : T extends {
|
5 | props?: infer Props;
|
6 | } ? DefineComponent<Props extends Readonly<(infer PropNames)[]> | (infer PropNames)[] ? {
|
7 | [key in PropNames extends string ? PropNames : string]?: any;
|
8 | } : Props> : DefineComponent>(originalComponent: T, options?: ComponentMountingOptions<C> & Pick<RenderMountingOptions<any>, 'attachTo'>): Promise<string>;
|