import { FrontendComponentRenderer } from '@arcanejs/toolkit-frontend/types';
import { BaseBrowserContext, createBrowserMediaSession } from '@arcanewizards/sigil/frontend';

type TimecodeToolboxBrowserContext = BaseBrowserContext;
declare const timecodeToolboxFrontendComponents: () => FrontendComponentRenderer;
declare const startTimecodeToolboxServerFrontend: (browser?: TimecodeToolboxBrowserContext | null) => void;
declare global {
    interface Window {
        startTimecodeToolboxServerFrontend?: typeof startTimecodeToolboxServerFrontend;
        createBrowserMediaSession?: typeof createBrowserMediaSession;
    }
}

export { type TimecodeToolboxBrowserContext, startTimecodeToolboxServerFrontend, timecodeToolboxFrontendComponents };
