import Event from '../../event/Event.js';
import EventTarget from '../../event/EventTarget.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import IMediaTrackCapabilities from './IMediaTrackCapabilities.js';
import IMediaTrackSettings from './IMediaTrackSettings.js';
/**
 * Canvas Capture Media Stream Track.
 *
 * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack
 */
export default class MediaStreamTrack extends EventTarget {
    #private;
    contentHint: '' | 'speech' | 'speech-recognition' | 'music' | 'motion' | 'detail' | 'text';
    enabled: boolean;
    readonly id: string;
    muted: boolean;
    readyState: 'live' | 'ended';
    label: string;
    [PropertySymbol.label]: string;
    [PropertySymbol.kind]: 'audio' | 'video';
    [PropertySymbol.constraints]: object;
    [PropertySymbol.capabilities]: IMediaTrackCapabilities;
    [PropertySymbol.settings]: IMediaTrackSettings;
    onended: (event: Event) => void | null;
    onmute: (event: Event) => void | null;
    onunmute: (event: Event) => void | null;
    /**
     * Constructor.
     *
     * @param illegalConstructorSymbol Illegal constructor symbol.
     */
    constructor(illegalConstructorSymbol: symbol);
    /**
     * Returns the kind of the track.
     *
     * @returns Kind.
     */
    get kind(): 'audio' | 'video';
    /**
     * Applies constraints.
     *
     * @param _constraints Constraints.
     * @param constraints
     */
    applyConstraints(constraints: object): Promise<void>;
    /**
     * Returns constraints.
     *
     * @returns Constraints.
     */
    getConstraints(): object;
    /**
     * Returns capabilities.
     *
     * @returns Capabilities.
     */
    getCapabilities(): IMediaTrackCapabilities;
    /**
     * Returns settings.
     *
     * @returns Settings.
     */
    getSettings(): IMediaTrackSettings;
    /**
     * Clones the track.
     *
     * @returns Clone.
     */
    clone(): MediaStreamTrack;
    /**
     * Stops the track.
     */
    stop(): void;
}
//# sourceMappingURL=MediaStreamTrack.d.ts.map