import { Dispatcher, EventBus } from '../../bus';
import { AnnotationEditorLayer } from '../../pdfjs';
export declare class AnnotationEditorStorage extends Dispatcher {
    readonly eventBus: EventBus;
    private pdfDocument?;
    private storage?;
    private annotationEditors?;
    private annotationEditorLayerBuilders;
    constructor(eventBus: EventBus);
    save(): void;
    getByPage(pageIndex: number): Map<string, Record<string, any>>;
    addEditors(layer: AnnotationEditorLayer): void;
    destroy(): void;
}
