UNPKG

@muban/storybook

Version:
8 lines (7 loc) 434 B
import { type App } from '@muban/muban'; import { type RenderContext } from '@storybook/types'; import { type MubanRenderer, type StoryFnMubanReturnType } from '../types.js'; export declare function renderServerTemplate(app: App | undefined, container: HTMLElement, componentStory: StoryFnMubanReturnType, data: any, { serverConfig, options, }: { serverConfig: string; options: RenderContext<MubanRenderer>; }): Promise<any>;