import { Dispatcher } from '../bus';
import { Toolbar } from '../toolbar';
import { ViewerType } from '../viewer';
export declare abstract class Extension extends Dispatcher {
    private _toolbar?;
    private _viewer?;
    get toolbar(): Toolbar;
    get viewer(): ViewerType;
    get options(): import('../viewer').ViewerOptions;
    get eventBus(): import('../bus').EventBus<Record<string, import('../bus').ListenerCallback>, string>;
    get signal(): AbortSignal | undefined;
    get l10n(): import('../l10n').IL10n;
    get logger(): import('../viewer/logger').Logger;
    get pdfDocument(): import('pdfjs-dist/types/src/display/api').PDFDocumentProxy | undefined;
    get rootContainer(): HTMLElement;
    get viewerContainer(): HTMLDivElement;
    get pagesCount(): number;
    get page(): number;
    set page(val: number);
    setToolbar(toolbar: Toolbar): void;
    setViewer(viewer: ViewerType): void;
    setCurrentPage(page: number): void;
}
