1 | import { Channel, Listener } from '@storybook/channels';
|
2 | import { ModuleFn } from '../index';
|
3 | export interface SubAPI {
|
4 | getChannel: () => Channel;
|
5 | on: (type: string, cb: Listener) => () => void;
|
6 | off: (type: string, cb: Listener) => void;
|
7 | emit: (type: string, ...args: any[]) => void;
|
8 | once: (type: string, cb: Listener) => void;
|
9 | collapseAll: () => void;
|
10 | expandAll: () => void;
|
11 | }
|
12 | export declare const init: ModuleFn;
|