1 | export declare const storiesOf: any;
|
2 | export declare const setAddon: any;
|
3 | export declare const addDecorator: any;
|
4 | export declare const addParameters: any;
|
5 | export declare const clearDecorators: any;
|
6 | export declare const configure: (loadStories: () => void, module: any) => void;
|
7 | export declare const getStorybook: any;
|
8 | export declare const getStorybookUI: (params?: Partial<import("./preview").Params>) => {
|
9 | new (props: Readonly<{}>): {
|
10 | render(): JSX.Element;
|
11 | context: any;
|
12 | setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void;
|
13 | forceUpdate(callBack?: () => void): void;
|
14 | readonly props: Readonly<{}> & Readonly<{
|
15 | children?: import("react").ReactNode;
|
16 | }>;
|
17 | state: Readonly<{}>;
|
18 | refs: {
|
19 | [key: string]: import("react").ReactInstance;
|
20 | };
|
21 | componentDidMount?(): void;
|
22 | shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
23 | componentWillUnmount?(): void;
|
24 | componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
25 | getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
26 | componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
27 | componentWillMount?(): void;
|
28 | UNSAFE_componentWillMount?(): void;
|
29 | componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
30 | UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
31 | componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
32 | UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
33 | };
|
34 | new (props: {}, context?: any): {
|
35 | render(): JSX.Element;
|
36 | context: any;
|
37 | setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void;
|
38 | forceUpdate(callBack?: () => void): void;
|
39 | readonly props: Readonly<{}> & Readonly<{
|
40 | children?: import("react").ReactNode;
|
41 | }>;
|
42 | state: Readonly<{}>;
|
43 | refs: {
|
44 | [key: string]: import("react").ReactInstance;
|
45 | };
|
46 | componentDidMount?(): void;
|
47 | shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
48 | componentWillUnmount?(): void;
|
49 | componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
50 | getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
51 | componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
52 | componentWillMount?(): void;
|
53 | UNSAFE_componentWillMount?(): void;
|
54 | componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
55 | UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
56 | componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
57 | UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
58 | };
|
59 | contextType?: import("react").Context<any>;
|
60 | };
|
61 | export declare const raw: any;
|
62 |
|
\ | No newline at end of file |