import { default as PageSpy } from '@huolala-tech/page-spy-browser'; import { default as DataHarborPlugin } from '@huolala-tech/page-spy-plugin-data-harbor'; import { default as RRWebPlugin } from '@huolala-tech/page-spy-plugin-rrweb'; export interface Config { title: string; /** * Online source: 'https://example.com/xxx.jpg' * Data url: 'data:image/png;base64,xxxx...' * Relative source: '../xxx.jpg' */ logo: string; primaryColor: string; autoRender: boolean; } declare class WholeBundle { $pageSpy: PageSpy | null; $harbor: DataHarborPlugin | null; $rrweb: RRWebPlugin | null; config: Config; root: HTMLDivElement | null; static instance: WholeBundle | null; constructor(userCfg?: Partial); init(): void; render(): void; startRender(): void; open(): void; abort(): void; } export default WholeBundle;