import createChannel from '@storybook/channel-websocket';
import Server from './websockets';
import { StoryMap } from '../types';
export default class RnsstChannel {
    channel: ReturnType<typeof createChannel>;
    server: Server;
    notifyStorySet: null | ((value?: unknown) => void);
    constructor(port: number);
    stop: () => void;
    onStoryRendered: () => void;
    getStoryList: () => Promise<StoryMap>;
    setStory: (storyId: string) => Promise<unknown>;
}
