1 | import { ComponentTitle, StoryName, StoryId, StoryKind } from 'storybook/internal/types';
|
2 |
|
3 | interface ParamsId {
|
4 | storyId: StoryId;
|
5 | }
|
6 | interface ParamsCombo {
|
7 | kind?: StoryKind;
|
8 | title?: ComponentTitle;
|
9 | story?: StoryName;
|
10 | name?: StoryName;
|
11 | }
|
12 | declare const navigate: (params: ParamsId | ParamsCombo) => void;
|
13 | declare const hrefTo: (title: ComponentTitle, name: StoryName) => Promise<string>;
|
14 | declare const linkTo: (idOrTitle: string | ((...args: any[]) => string), nameInput?: string | ((...args: any[]) => string)) => (...args: any[]) => void;
|
15 | declare const withLinks: (...args: any) => any;
|
16 |
|
17 | export { hrefTo, linkTo, navigate, withLinks };
|