UNPKG

371 BTypeScriptView Raw
1import type { Globals, GlobalTypes } from '@storybook/csf';
2import type { ModuleFn } from '../index';
3export interface SubState {
4 globals?: Globals;
5 globalTypes?: GlobalTypes;
6}
7export interface SubAPI {
8 getGlobals: () => Globals;
9 getGlobalTypes: () => GlobalTypes;
10 updateGlobals: (newGlobals: Globals) => void;
11}
12export declare const init: ModuleFn;