import { TWDTheme } from './ui/utils/theme'; interface TestModule { [key: string]: () => Promise; } interface InitTWDOptions { open?: boolean; position?: 'left' | 'right'; serviceWorker?: boolean; serviceWorkerUrl?: string; theme?: Partial; search?: boolean; rootSelector?: string; } /** * Initialize TWD with tests and optional configuration * @param files The test modules * @param options The options for the initialization * @param options.open Whether to open the sidebar * @param options.position The position of the sidebar * @param options.serviceWorker Whether to use the service worker * @param options.serviceWorkerUrl The URL of the service worker * @param options.theme Optional theme customization * @returns void * @example * initTWD(testModules, { open: true, position: 'left' }); * @example * initTWD(testModules, { open: true, position: 'left', serviceWorker: false }); * @example * initTWD(testModules, { open: true, position: 'left', serviceWorker: true, serviceWorkerUrl: '/mock-sw.js' }); * @example * initTWD(testModules, { open: true, position: 'left', theme: { primary: '#ff0000', background: '#ffffff' } }); * @example * initTWD(testModules, { rootSelector: '#my-app' }); */ export declare const initTWD: (files: TestModule, options?: InitTWDOptions) => void; export {};