1 | import type { PluginItem } from '@babel/core';
|
2 | import type { PluginOptions } from 'react-docgen-typescript-plugin';
|
3 | export declare type Preset = string | {
|
4 | name: string;
|
5 | };
|
6 | export interface StorybookConfig {
|
7 | |
8 |
|
9 |
|
10 |
|
11 | scriptsPackageName?: string;
|
12 | |
13 |
|
14 |
|
15 | craOverrides?: {
|
16 | fileLoaderExcludes?: string[];
|
17 | };
|
18 | configDir: string;
|
19 | babelOptions: {
|
20 | extends: string | null;
|
21 | plugins: PluginItem[] | null;
|
22 | presets: PluginItem[] | null;
|
23 | };
|
24 | presetsList: Preset[];
|
25 | packageJson: {
|
26 | version: string;
|
27 | };
|
28 | typescriptOptions?: {
|
29 | reactDocgen: 'react-docgen-typescript' | 'react-docgen' | false;
|
30 | reactDocgenTypescriptOptions: PluginOptions;
|
31 | };
|
32 | }
|