UNPKG

1.12 kBTypeScriptView Raw
1/// <reference types="webpack-env" />
2/// <reference types="node" />
3import type { ClientStoryApi, Loadable } from '@storybook/addons';
4import './globals';
5import type { IStorybookSection } from './types';
6import type { AngularFramework } from './types-6-0';
7interface 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}
16export declare const storiesOf: ClientApi['storiesOf'];
17export declare const configure: ClientApi['configure'];
18export declare const addDecorator: ClientApi['addDecorator'];
19export declare const addParameters: ClientApi['addParameters'];
20export declare const clearDecorators: ClientApi['clearDecorators'];
21export declare const setAddon: ClientApi['setAddon'];
22export declare const forceReRender: ClientApi['forceReRender'];
23export declare const getStorybook: ClientApi['getStorybook'];
24export declare const raw: ClientApi['raw'];
25export {};