1 | import type { StoryContext } from '@storybook/csf';
|
2 | import type { Theme } from './preview/components/Shared/theme';
|
3 | import type { ReactNativeFramework } from './types/types-6.0';
|
4 |
|
5 |
|
6 |
|
7 | export declare function useSetStoryContext(): (args_0: StoryContext<ReactNativeFramework, import("@storybook/csf").Args> | ((prev: StoryContext<ReactNativeFramework, import("@storybook/csf").Args>) => StoryContext<ReactNativeFramework, import("@storybook/csf").Args>)) => void;
|
8 |
|
9 |
|
10 |
|
11 | export declare function useStoryContext(): StoryContext<ReactNativeFramework, import("@storybook/csf").Args>;
|
12 |
|
13 |
|
14 |
|
15 | export declare function useStoryContextParam<T = any>(name: string, defaultValue?: T): T;
|
16 |
|
17 |
|
18 |
|
19 | export declare function useIsStorySelected(storyId: string): boolean;
|
20 |
|
21 |
|
22 |
|
23 | export declare function useIsStorySectionSelected(title: string): boolean;
|
24 |
|
25 |
|
26 |
|
27 | export declare function useUpdateOnStoryChanged(): void;
|
28 |
|
29 |
|
30 |
|
31 | export declare function useTheme(): Theme;
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 | export declare function atomWithToggle(initialValue?: boolean): import("jotai").WritableAtom<boolean, [nextValue?: boolean], void> & {
|
39 | init: boolean;
|
40 | };
|
41 |
|
42 |
|
43 |
|
44 |
|
45 | export declare function useIsUIVisible(): [boolean, (nextValue?: boolean) => void];
|
46 |
|
47 |
|
48 |
|
49 |
|
50 | export declare function useIsSplitPanelVisible(): [boolean, (nextValue?: boolean) => void];
|
51 | interface SyncExternalUIParams {
|
52 | isUIVisible?: boolean;
|
53 | isSplitPanelVisible?: boolean;
|
54 | }
|
55 |
|
56 |
|
57 |
|
58 | export declare function syncExternalUI({ isUIVisible, isSplitPanelVisible }: SyncExternalUIParams): void;
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 |
|
65 | export declare function useSelectedAddon(initialValue?: string): [string, (args_0: string | ((prev: string) => string)) => void];
|
66 | export {};
|