import { Plugin } from '@netless/appliance-plugin'; export * from './types'; export type AutoDrawOptions = { /** Manage your API key to access all models from OpenRouter */ apiKey?: string; /** Custom models to use */ customModel?: string; /** Container to render the icons */ container: HTMLDivElement; /** Delay to render the icons, default is 2000ms */ delay?: number; /** * If you upload the file to the oss server and return the URL address, undefined will be returned * @param file 文件 * @returns image url string */ uploadFile?: (file: File) => Promise; }; export declare class AutoDrawPlugin extends Plugin { readonly kind = "autoDraw"; private localStorage; private excludeStorage; private timer?; private iconsContainer; private icons; private iconRect?; private isActive; private viewId; private scenePath?; private delay; private options; constructor(options: AutoDrawOptions); get collector(): import("@netless/appliance-plugin/dist/collector").Collector | undefined; get roomUuid(): string | undefined; get suid(): string | undefined; onDestroy(): void; onCreate(): void; private onSetToolkey; private syncStorage; private getOwnStorage; private batchLocalDraw; private computAutoDraw; private getSnapshot; private imageBitmapToFile; private buildHTML; private onClickIcon; private sceneChange; private localEvent; mount(): void; unMount(): void; } //# sourceMappingURL=index.d.ts.map