import { ViteService } from '../service/vite.service'; import { StaticFileOptions } from '@midwayjs/static-file'; import { IViewEngine, RenderOptions } from '@midwayjs/view'; import { Application, Context } from '@midwayjs/koa'; import { ViteViewConfig } from '../interface'; export declare class ViteView implements IViewEngine { staticFileConfig: StaticFileOptions; viteViewConfig: ViteViewConfig; app: Application; ctx: Context; vite: ViteService; private prodPath; private prod; private root; getSsrHtml(indexName: string, entryServerUrl: string, url: string, assign: object | undefined, viteConfigFile?: string): Promise; getClientHtml(indexName: any, assign: object | undefined, url: string, viteConfigFile: string): Promise; render(name: string, locals?: Record, options?: RenderOptions): Promise; renderString(name: string, locals?: Record, options?: RenderOptions): Promise; }