import { type EditorPageId, type EditorSiteId } from '../ui/editorHistory';
import type { EditorEffect, EditorHistorySnapshot } from '../ui/editorHistory';
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
import type { ApiClient } from '../services';
import { type EditorEffectDrainResult } from './editorEffectDrain';
type ReplayRestoredEditorEffectsArgs = Readonly<{
    previous: EditorHistorySnapshot;
    effects: readonly EditorEffect[];
    apiClient: ApiClient;
    siteId: EditorSiteId;
    pageId: EditorPageId;
    uiStore: EditorUiStoreInstance;
    setErrorMessage: (message: string | null) => void;
}>;
export declare function replayRestoredEditorEffects({ previous, effects, apiClient, siteId, pageId, uiStore, setErrorMessage, }: ReplayRestoredEditorEffectsArgs): Promise<EditorEffectDrainResult>;
export {};
