import { EventBus } from '../../bus';
import { TextLayerMode } from '../../enums';
import { IL10n } from '../../l10n';
import { LayerBuilderType } from '../layers';
import { RenderingQueue } from '../rendering';
import * as pdfjs from '@/pdfjs';
import * as managers from '../managers';
export type PageColors = {
    background: 'Canvas' | string;
    foreground: 'CanvasText' | string;
};
export type PageOptions = {
    id: number;
    viewport: pdfjs.PageViewport;
    eventBus: EventBus;
    l10n: IL10n;
    container?: HTMLElement;
    scale?: number;
    rotation?: number;
    optionalContentConfigPromise?: Promise<pdfjs.OptionalContentConfig>;
    renderingQueue?: RenderingQueue;
    maxCanvasPixels?: number;
    textLayerMode?: TextLayerMode;
    imageResourcesPath?: string;
    annotationMode?: number;
    layerBuilders?: LayerBuilderType[];
    layerProperties: managers.LayerPropertiesManager;
    enableHWA?: boolean;
    pageColors?: PageColors;
    isStandalone?: boolean;
};
export type PageUpdate = {
    scale?: number;
    rotation?: number;
    optionalContentConfigPromise?: Promise<pdfjs.OptionalContentConfig>;
    drawingDelay?: number;
};
