import { MutableRefObject } from 'react'; export declare type TimelineContextValue = { frame: number; playing: boolean; rootId: string; playbackRate: number; imperativePlaying: MutableRefObject; setPlaybackRate: (u: React.SetStateAction) => void; }; 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 {}; //# sourceMappingURL=timeline-position-state.d.ts.map