import type { Widget } from './widgets/widget'; interface Options { orientationLock: boolean; onRotate: (r: boolean) => void; } interface Frontier { left: number; top: number; width: number; height: number; } type FrontierType = 'graphics' | 'container'; export declare class PlayerShell { private readonly hostElement; static defaultOptions: Options; static createPanel(frontier: Frontier): HTMLDivElement; private frontierMap; private panelMap; private options; private shellElement; private resizeObserverIns; private _hostAspectRatio; private _videoAspectRatio; private _orientationLock; get hostAspectRatio(): number; set hostAspectRatio(v: number); get videoAspectRatio(): number; set videoAspectRatio(v: number); get orientationLock(): boolean; set orientationLock(v: boolean); get shell(): Readonly; get isOrientationMatch(): boolean; get containerDimensions(): Frontier; get graphicsDimensions(): Frontier; constructor(hostElement: HTMLElement, options?: Partial); /** * @description resize all frontier and scaling&rotate shell to fit container after host element dimensions or video stream aspect ratio change */ private resize; addWidget(widget: Widget, type?: FrontierType): string; stickToTop(id: string): void; destroy(): void; } export {};