import { TrackIdentifier } from '../../packages/core/dist/index.d.ts';
import * as React from 'react';
/** @public */
export interface UseMediaTrackOptions {
    element?: React.RefObject<HTMLMediaElement> | null;
    props?: React.HTMLAttributes<HTMLVideoElement | HTMLAudioElement>;
}
/**
 * @internal
 */
export declare function useMediaTrackBySourceOrName(observerOptions: TrackIdentifier, options?: UseMediaTrackOptions): {
    publication: import('@cc-livekit/livekit-client').TrackPublication | undefined;
    isMuted: boolean | undefined;
    isSubscribed: boolean | undefined;
    track: import('@cc-livekit/livekit-client').Track<import("@cc-livekit/livekit-client").Track.Kind> | undefined;
    elementProps: React.HTMLAttributes<HTMLElement>;
};
//# sourceMappingURL=useMediaTrackBySourceOrName.d.ts.map