import { UIElement } from "../ui-element.js";
import { TextTrackDefinition } from "@videojs/core";
import { PropertyValues } from "@videojs/element";
import { TextTrackFilter, TextTrackKind } from "@videojs/media";
//#region src/ui/time-slider/markers.d.ts
type TextTrackQuery = TextTrackFilter | TextTrackDefinition;
/**
* Draws a marker on the time slider for each cue on the text tracks a filter matches, such as ad breaks. Pick tracks
* with the `kind`, `label`, and `language` attributes, or with the `filter` property; with neither, nothing is drawn.
* The store reads the matching tracks while the element is connected, so tracks it doesn't read by default work too.
*
* Each marker clones the light-DOM template, which must contain exactly one HTML root element, or is a `
` without
* one. Markers are decorative: the slider's own value is what assistive technology reads.
*/
export declare class TimeSliderMarkersElement extends UIElement {
#private;
static readonly tagName = "media-time-slider-markers";
static properties: {
kind: {
type: StringConstructor;
};
label: {
type: StringConstructor;
};
language: {
type: StringConstructor;
};
};
/** Draw cues from tracks of this kind. */
kind: TextTrackKind | null | undefined;
/** Draw cues from tracks with this label. */
label: string | null | undefined;
/** Draw cues from tracks in this language. */
language: string | null | undefined;
/**
* Picks the tracks whose cues are drawn: a filter object, a function, or a track definition. Takes priority over the
* `kind`, `label`, and `language` attributes. Set as a JavaScript property; it has no attribute.
*/
get filter(): TextTrackQuery | undefined;
set filter(value: TextTrackQuery | undefined);
connectedCallback(): void;
disconnectedCallback(): void;
destroyCallback(): void;
protected willUpdate(changed: PropertyValues): void;
protected update(changed: PropertyValues): void;
}
//#endregion
//# sourceMappingURL=markers.d.ts.map