1 | import * as lib_preview_api_dist_addons from '@storybook/preview-api/dist/addons';
|
2 | import { ComponentTitle, StoryName, StoryId, StoryKind } from '@storybook/types';
|
3 |
|
4 | interface ParamsId {
|
5 | storyId: StoryId;
|
6 | }
|
7 | interface ParamsCombo {
|
8 | kind?: StoryKind;
|
9 | title?: ComponentTitle;
|
10 | story?: StoryName;
|
11 | name?: StoryName;
|
12 | }
|
13 | declare const navigate: (params: ParamsId | ParamsCombo) => void;
|
14 | declare const hrefTo: (title: ComponentTitle, name: StoryName) => Promise<string>;
|
15 | declare const linkTo: (idOrTitle: string | ((...args: any[]) => string), nameInput?: string | ((...args: any[]) => string) | undefined) => (...args: any[]) => void;
|
16 | declare const withLinks: lib_preview_api_dist_addons.MakeDecoratorResult;
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | declare function LinkTo(): null;
|
22 |
|
23 | export { LinkTo, hrefTo, linkTo, navigate, withLinks };
|