import type { SourceFileVersion } from '@remotion/studio-shared'; export type ConfigReloadPending = { originatorClientId: string | null; sourceVersion: SourceFileVersion | null; }; export type ConfigReloadState = { type: 'idle'; } | { type: 'reloading'; pending: ConfigReloadPending | null; }; export type ConfigReloadEvent = ({ type: 'change'; } & ConfigReloadPending) | { type: 'finished'; }; export type ConfigReloadEffect = { type: 'none'; } | ({ type: 'start-reload'; } & ConfigReloadPending); export declare const transitionConfigReload: (state: ConfigReloadState, event: ConfigReloadEvent) => { state: ConfigReloadState; effect: ConfigReloadEffect; }; export declare const watchConfigFileForReloads: ({ configFile, reload, }: { configFile: string; reload: (change: ConfigReloadPending) => Promise; }) => { exists: boolean; unwatch: () => void; };