1 | interface StoryData {
|
2 | viewMode?: string;
|
3 | storyId?: string;
|
4 | refId?: string;
|
5 | }
|
6 | declare const parsePath: (path: string | undefined) => StoryData;
|
7 | interface Args {
|
8 | [key: string]: any;
|
9 | }
|
10 | declare const DEEPLY_EQUAL: unique symbol;
|
11 | declare const deepDiff: (value: any, update: any) => any;
|
12 | declare const buildArgsParam: (initialArgs: Args | undefined, args: Args) => string;
|
13 | interface Query {
|
14 | [key: string]: any;
|
15 | }
|
16 | declare const queryFromString: (s?: string) => Query;
|
17 | declare const queryFromLocation: (location: Partial<Location>) => Query;
|
18 | declare const stringifyQuery: (query: Query) => string;
|
19 | type Match = {
|
20 | path: string;
|
21 | };
|
22 | declare const getMatch: (current: string, target: string | RegExp, startsWith?: any) => Match | null;
|
23 |
|
24 | export { DEEPLY_EQUAL, StoryData, buildArgsParam, deepDiff, getMatch, parsePath, queryFromLocation, queryFromString, stringifyQuery };
|