1 | import { Component } from '../../blocks/types';
|
2 | import { ExtractedJsDoc } from '../jsdocParser';
|
3 | import { PropDef, DocgenInfo, TypeSystem } from './types';
|
4 | export interface ExtractedProp {
|
5 | propDef: PropDef;
|
6 | docgenInfo: DocgenInfo;
|
7 | jsDocTags: ExtractedJsDoc;
|
8 | typeSystem: TypeSystem;
|
9 | }
|
10 | export declare type ExtractProps = (component: Component, section: string) => ExtractedProp[];
|
11 | export declare const extractComponentSectionArray: (docgenSection: any) => any;
|
12 | export declare const extractComponentSectionObject: (docgenSection: any) => ExtractedProp[];
|
13 | export declare const extractComponentProps: ExtractProps;
|
14 | export declare function extractComponentDescription(component?: Component): string;
|