import type { MutableRefObject } from 'react'; export type PlayableMediaTag = { play: () => void; id: string; }; export type TimelineContextValue = { frame: Record; playing: boolean; rootId: string; playbackRate: number; imperativePlaying: MutableRefObject; setPlaybackRate: (u: React.SetStateAction) => void; audioAndVideoTags: MutableRefObject; }; export 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; type CurrentTimePerComposition = Record; export declare const persistCurrentFrame: (time: CurrentTimePerComposition) => void; export declare const getInitialFrameState: () => CurrentTimePerComposition; export declare const getFrameForComposition: (composition: string) => number; export declare const useTimelinePosition: () => number; export declare const useTimelineSetFrame: () => (u: React.SetStateAction>) => void; type PlayingReturnType = readonly [ boolean, (u: React.SetStateAction) => void, MutableRefObject ]; export declare const usePlayingState: () => PlayingReturnType; export {};