import { FC } from 'react'; import { ArgTypes } from '@storybook/components'; import { DocsContextProps } from './DocsContext'; import { Component } from './types'; declare type PropDescriptor = string[] | RegExp; interface BaseProps { include?: PropDescriptor; exclude?: PropDescriptor; } declare type OfProps = BaseProps & { of: '.' | '^' | Component; }; declare type ComponentsProps = BaseProps & { components: { [label: string]: Component; }; }; declare type StoryProps = BaseProps & { story: '.' | '^' | string; showComponent?: boolean; }; declare type ArgsTableProps = BaseProps | OfProps | ComponentsProps | StoryProps; export declare const extractComponentArgTypes: (component: Component, { parameters }: DocsContextProps, include?: PropDescriptor, exclude?: PropDescriptor) => ArgTypes; export declare const getComponent: (props: ArgsTableProps, context: DocsContextProps) => Component; export declare const StoryTable: FC; }>; export declare const ComponentsTable: FC; export declare const ArgsTable: FC; export {};