1 | import type { ArgType } from '@storybook/api';
|
2 | interface TagItem {
|
3 | name: string;
|
4 | type: {
|
5 | [key: string]: any;
|
6 | };
|
7 | description: string;
|
8 | default?: any;
|
9 | kind?: string;
|
10 | defaultValue?: any;
|
11 | }
|
12 | interface Tag {
|
13 | name: string;
|
14 | description: string;
|
15 | attributes?: TagItem[];
|
16 | properties?: TagItem[];
|
17 | events?: TagItem[];
|
18 | methods?: TagItem[];
|
19 | members?: TagItem[];
|
20 | slots?: TagItem[];
|
21 | cssProperties?: TagItem[];
|
22 | cssParts?: TagItem[];
|
23 | }
|
24 | interface CustomElements {
|
25 | tags: Tag[];
|
26 | modules?: [];
|
27 | }
|
28 | export declare const extractArgTypesFromElements: (tagName: string, customElements: CustomElements) => {
|
29 | [x: string]: ArgType;
|
30 | };
|
31 | export declare const extractArgTypes: (tagName: string) => {
|
32 | [x: string]: ArgType;
|
33 | };
|
34 | export declare const extractComponentDescription: (tagName: string) => string;
|
35 | export {};
|