UNPKG

730 BTypeScriptView Raw
1import { Type } from '@angular/core';
2import { ArgTypes } from '@storybook/types';
3import { ICollection } from '../types';
4/**
5 * Converts a component into a template with inputs/outputs present in initial props
6 * @param component
7 * @param initialProps
8 * @param innerTemplate
9 */
10export declare const computesTemplateFromComponent: (component: Type<unknown>, initialProps?: ICollection, innerTemplate?: string) => string;
11/**
12 * Converts a component into a template with inputs/outputs present in initial props
13 * @param component
14 * @param initialProps
15 * @param innerTemplate
16 */
17export declare const computesTemplateSourceFromComponent: (component: Type<unknown>, initialProps?: ICollection, argTypes?: ArgTypes) => string;