@remotion/studio
Version:
APIs for interacting with the Remotion Studio
14 lines (13 loc) • 657 B
TypeScript
import type React from 'react';
export type InOutValue = {
inFrame: number | null;
outFrame: number | null;
};
export type TimelineInOutContextValue = Record<string, InOutValue>;
export type SetTimelineInOutContextValue = {
setInAndOutFrames: (u: React.SetStateAction<TimelineInOutContextValue>) => void;
};
export declare const TimelineInOutContext: React.Context<TimelineInOutContextValue>;
export declare const SetTimelineInOutContext: React.Context<SetTimelineInOutContextValue>;
export declare const useTimelineInOutFramePosition: () => InOutValue;
export declare const useTimelineSetInOutFramePosition: () => SetTimelineInOutContextValue;