1 |
|
2 |
|
3 | import type { ClientStoryApi, Loadable } from '@storybook/addons';
|
4 | import './globals';
|
5 | import type { IStorybookSection } from './types';
|
6 | import type { AngularFramework } from './types-6-0';
|
7 | interface ClientApi extends ClientStoryApi<AngularFramework['storyResult']> {
|
8 | setAddon(addon: any): void;
|
9 | configure(loader: Loadable, module: NodeModule): void;
|
10 | getStorybook(): IStorybookSection[];
|
11 | clearDecorators(): void;
|
12 | forceReRender(): void;
|
13 | raw: () => any;
|
14 | load: (...args: any[]) => void;
|
15 | }
|
16 | export declare const storiesOf: ClientApi['storiesOf'];
|
17 | export declare const configure: ClientApi['configure'];
|
18 | export declare const addDecorator: ClientApi['addDecorator'];
|
19 | export declare const addParameters: ClientApi['addParameters'];
|
20 | export declare const clearDecorators: ClientApi['clearDecorators'];
|
21 | export declare const setAddon: ClientApi['setAddon'];
|
22 | export declare const forceReRender: ClientApi['forceReRender'];
|
23 | export declare const getStorybook: ClientApi['getStorybook'];
|
24 | export declare const raw: ClientApi['raw'];
|
25 | export {};
|