import { StoryboardCue, StoryboardFrame, VideoStatus } from '../types';
type StoryboardInfo = NonNullable<VideoStatus['storyboard']>;
interface UseStoryboardProps {
    storyboard?: StoryboardInfo | null;
    baseUrl?: string;
    authHeaders?: Record<string, string>;
    enabled?: boolean;
}
type SheetDimensions = {
    width: number;
    height: number;
};
export declare function useStoryboard({ storyboard, baseUrl, authHeaders, enabled, }: UseStoryboardProps): {
    ready: boolean;
    cues: StoryboardCue[];
    durationSec: number;
    getFrameAtRatio: (ratio: number) => StoryboardFrame | null;
    ensureSheetDimensions: (url: string) => Promise<SheetDimensions | null | undefined>;
};
export {};
//# sourceMappingURL=useStoryboard.d.ts.map