1 | import { N as NormalizedStoriesSpecifier, S as StoryIndex, P as ProjectAnnotations, a as StorybookConfig$1 } from './index.d-e107ed3d.js';
|
2 | import { V as View } from './View-9ba91d66.js';
|
3 | import { ReactRenderer } from '@storybook/react';
|
4 | export { Theme, darkTheme, theme } from '@storybook/react-native-theming';
|
5 | import 'file-system-cache';
|
6 | import '@babel/core';
|
7 | import 'http';
|
8 | import 'react/jsx-runtime';
|
9 | import '@storybook/csf';
|
10 | import '@storybook/preview-web';
|
11 | import '@storybook/channels';
|
12 |
|
13 |
|
14 | interface ReactNativeOptions {
|
15 | |
16 |
|
17 |
|
18 | playFn?: boolean;
|
19 | }
|
20 | declare function prepareStories({ storyEntries, options, }: {
|
21 | storyEntries: Array<NormalizedStoriesSpecifier & {
|
22 | req: any;
|
23 | }>;
|
24 | options?: ReactNativeOptions;
|
25 | }): {
|
26 | index: StoryIndex;
|
27 | importMap: Record<string, any>;
|
28 | };
|
29 | declare const getProjectAnnotations: (view: View, annotations: any[]) => () => Promise<ProjectAnnotations<ReactRenderer>>;
|
30 | declare function start({ annotations, storyEntries, options, }: {
|
31 | storyEntries: Array<NormalizedStoriesSpecifier & {
|
32 | req: any;
|
33 | }>;
|
34 | annotations: any[];
|
35 | options?: ReactNativeOptions;
|
36 | }): View;
|
37 |
|
38 | interface StorybookConfig {
|
39 | stories: StorybookConfig$1['stories'];
|
40 | addons: string[];
|
41 | reactNative?: ReactNativeOptions;
|
42 | }
|
43 |
|
44 | export { StorybookConfig, getProjectAnnotations, prepareStories, start };
|