import { MuxMediaProps, StreamTypes, PlaybackTypes, Metadata, MediaError, CmcdTypes } from '@mux/playback-core';
import { PlaybackEngine, Autoplay, ExtensionMimeTypeMap, ValueOf } from '@mux/playback-core';
import 'castable-video';
import { Events as VideoEvents } from 'custom-media-element';
declare const CustomVideoElement: import("custom-media-element").CustomMediaElementConstructor<import("custom-media-element").CustomVideoElement>;
/** @TODO make the relationship between name+value smarter and more deriveable (CJP) */
type AttributeNames = {
    BEACON_COLLECTION_DOMAIN: 'beacon-collection-domain';
    CUSTOM_DOMAIN: 'custom-domain';
    DEBUG: 'debug';
    DISABLE_COOKIES: 'disable-cookies';
    ENV_KEY: 'env-key';
    MAX_RESOLUTION: 'max-resolution';
    METADATA_URL: 'metadata-url';
    PLAYBACK_ID: 'playback-id';
    PLAYER_SOFTWARE_NAME: 'player-software-name';
    PLAYER_SOFTWARE_VERSION: 'player-software-version';
    PREFER_CMCD: 'prefer-cmcd';
    PREFER_PLAYBACK: 'prefer-playback';
    START_TIME: 'start-time';
    STREAM_TYPE: 'stream-type';
    TARGET_LIVE_WINDOW: 'target-live-window';
    LIVE_EDGE_OFFSET: 'live-edge-offset';
    TYPE: 'type';
};
export declare const Attributes: AttributeNames;
declare class MuxVideoElement extends CustomVideoElement implements Partial<MuxMediaProps> {
    private "MuxVideoElement.#private";
    static readonly observedAttributes: string[];
    constructor();
    preferCmcd: ValueOf<CmcdTypes> | undefined;
    readonly playerInitTime: number;
    playerSoftwareName: string | undefined;
    playerSoftwareVersion: string | undefined;
    readonly _hls: PlaybackEngine | undefined;
    readonly mux: Readonly<HTMLVideoElement['mux']> | undefined;
    readonly error: globalThis.MediaError | null;
    errorTranslator: ((errorEvent: any) => any) | undefined;
    src: string;
    type: ValueOf<ExtensionMimeTypeMap> | undefined;
    /*@ts-ignore
    @ts-ignore */
    autoplay: Autoplay;
    preload: "" | "none" | "metadata" | "auto";
    debug: boolean;
    disableCookies: boolean;
    startTime: number | undefined;
    playbackId: string | undefined;
    maxResolution: string | undefined;
    customDomain: string | undefined;
    readonly ended: boolean;
    envKey: string | undefined;
    beaconCollectionDomain: string | undefined;
    streamType: ValueOf<StreamTypes> | undefined;
    targetLiveWindow: number | undefined;
    readonly liveEdgeStart: number;
    liveEdgeOffset: number | undefined;
    readonly seekable: TimeRanges;
    addCuePoints<T = any>(cuePoints: {
        time: number;
        value: T;
    }[]): Promise<TextTrack>;
    readonly activeCuePoint: {
        time: number;
        value: any;
    } | undefined;
    readonly cuePoints: {
        time: number;
        value: any;
    }[];
    getStartDate(): Date;
    readonly currentPdt: Date;
    preferPlayback: ValueOf<PlaybackTypes> | undefined;
    metadata: Readonly<Metadata> | undefined;
    load(): void;
    unload(): void;
    attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string | null): void;
    disconnectedCallback(): void;
}
type MuxVideoElementType = typeof MuxVideoElement;
declare global {
    var MuxVideoElement: MuxVideoElementType;
}
export { PlaybackEngine, PlaybackEngine as Hls, ExtensionMimeTypeMap as MimeTypes, MediaError, VideoEvents };
export default MuxVideoElement;
