import { HTMLMediaElementHost, HTMLMediaTargetLike, MediaComponent, MediaComponents } from "../media-host/media-host.js"; //#region src/dom/utils/media-components.d.ts type MediaHost = HTMLMediaElementHost; declare function getMediaComponents(host: MediaHost): MediaComponents; declare function addMediaComponent(host: MediaHost, component: T): () => void; declare function getMediaProp(host: MediaHost, prop: K): T[K] | undefined; declare function setMediaProp(host: MediaHost, prop: K, value: T[K]): void; /** Find the object that owns a media property: the first component `override` exposing it, otherwise the attached target. */ declare function getMediaOwner(host: MediaHost, prop: keyof T): Partial | null; //#endregion export { addMediaComponent, getMediaComponents, getMediaOwner, getMediaProp, setMediaProp }; //# sourceMappingURL=media-components.d.ts.map