import { MutableRefObject } from 'react'; export declare type PlayableMediaTag = { play: () => void; id: string; }; export declare type TimelineContextValue = { frame: number; playing: boolean; rootId: string; playbackRate: number; imperativePlaying: MutableRefObject; setPlaybackRate: (u: React.SetStateAction) => void; audioAndVideoTags: MutableRefObject; }; export declare type SetTimelineContextValue = { setFrame: (u: React.SetStateAction) => void; setPlaying: (u: React.SetStateAction) => void; }; export declare const TimelineContext: import("react").Context; export declare const SetTimelineContext: import("react").Context; export declare const useTimelinePosition: () => number; export declare const useTimelineSetFrame: () => (u: React.SetStateAction) => void; declare type PlayingReturnType = readonly [ boolean, (u: React.SetStateAction) => void, MutableRefObject ]; export declare const usePlayingState: () => PlayingReturnType; export {};