import type { UpdateAvailableResponse } from '@remotion/studio-shared'; import React from 'react'; export type Bug = { title: string; description: string; link: string; versions: string[]; }; type UpgradeState = 'idle' | 'upgrading' | 'upgraded' | 'restarting'; type UpdateStatusContextValue = { readonly upgradeState: UpgradeState; readonly upgradeError: string | null; readonly upgrade: (version: string) => Promise; readonly restart: () => Promise; readonly error: string | null; readonly info: UpdateAvailableResponse | null; readonly knownBugs: Bug[] | null; }; export declare const UpdateStatusProvider: React.FC<{ readonly children: React.ReactNode; readonly skillsRevision: number; }>; export declare const useUpdateStatus: () => UpdateStatusContextValue; export {};