import type { ModuleMap } from '@remotion/studio-shared'; type RuntimeError = { readonly error: Error; readonly moduleIds: ModuleId[] | null; }; export declare const getRuntimeErrors: () => RuntimeError[]; export declare const removeErrorFromOverlay: (error: Error) => void; export declare const subscribeToRuntimeErrors: (listener: () => void) => () => void; export declare const addErrorToOverlay: (error: Error, moduleIds: ModuleId[] | null) => void; export declare const clearRecoveredRuntimeErrors: ({ errorsBeforeUpdate, updatedModules, failedModules, moduleMap, reactRefreshFinished, }: { errorsBeforeUpdate: RuntimeError[]; updatedModules: ModuleId[]; failedModules: Set; moduleMap: ModuleMap; reactRefreshFinished: boolean; }) => void; export {};