import type { IPictureInPictureApi } from '../../../types';
import { ValueSubject } from '@vkontakte/videoplayer-shared';
import { PictureInPictureType } from '../../../types';
export declare class DocumentPictureInPictureApi implements IPictureInPictureApi {
    private playerDomElement;
    private playerParentShadowRoot;
    private playerDummyElement;
    private svelteContext;
    private pipWindow;
    info: {
        isActive$: ValueSubject<boolean>;
        type: PictureInPictureType;
    };
    isSupported(): boolean;
    isActive(): boolean;
    setPlayerDomElement(playerDomElement: HTMLElement, playerParentShadowRoot: ShadowRoot): void;
    setContext(svelteContext: Map<unknown, unknown>): void;
    request(): Promise<void>;
    remove(): Promise<void>;
    dispose(): Promise<void>;
    private createStretchedContainer;
}
export declare function isInstanceOfDocumentPictureInPictureApi(pictureInPictureApi?: IPictureInPictureApi): pictureInPictureApi is DocumentPictureInPictureApi;
