import { Context } from "../engine_setup.js";
export declare const arContainerClassName = "ar";
export declare const quitARClassName = "quit-ar";
/** @internal */
export declare class AROverlayHandler {
    get ARContainer(): HTMLElement | null;
    private arContainer;
    currentSession: XRSession | null;
    private _createdAROnlyElements;
    private _reparentedObjects;
    private contentElement;
    private originalDomOverlayParent;
    requestEndAR: () => void;
    onBegin(context: Context, overlayContainer: HTMLElement, session: XRSession): void;
    onEnd(_context: Context): void;
    createOverlayContainer(needleEngineElement: HTMLElement): HTMLElement;
    private onRequestedEndAR;
    private ensureQuitARButton;
    private appendElement;
}
