import { EventEmitter } from '../../stencil-public-runtime';
export declare class AkordPdfViewerSpa {
  component: HTMLElement;
  private isPageRendering;
  private pdfDocument;
  private pageNumPending;
  private canvas;
  private ctx;
  private scale;
  private pageNum;
  /**
   * Rotate the PDF in degrees
   * {number}
   */
  rotation: 0 | 90 | 180 | 270 | 360;
  height: number;
  width: number;
  /**
   * Src of the PDF to load and render
   * {number}
   */
  src: string;
  /**
   * Container class name
   * {string}
   */
  containerClass: string;
  darkMode: boolean;
  /**
   * Listen for changes to src
   * @param newValue
   * @param oldValue
   */
  doSrc(newValue: string | null, oldValue: string | null): void;
  pageRendered: EventEmitter<number>;
  pageChange: EventEmitter<number>;
  /**
   * Page forward
   * {MouseEvent} e
   */
  pageNext(e?: MouseEvent): Promise<void>;
  /**
   * Page backward
   * e
   */
  pagePrev(e?: MouseEvent): Promise<void>;
  /**
   * Render the page based on pageNumber
   * {number} pageNumber
   */
  renderPage(pageNumber: number): void;
  private queueRenderPage;
  componentDidLoad(): void;
  private loadAndRender;
  render(): any;
}
