import type { ContentEntrySnapshot } from '../../../content-model/src/index';
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
type UseEntrySyncHelpersProps = {
    uiStore: EditorUiStoreInstance;
    setErrorMessage: (msg: string | null) => void;
};
/**
 * Hook that provides helpers for synchronizing entry snapshots with store state.
 *
 * Responsibilities:
 * - Create metadata snapshots from entry data
 * - Update store to match new snapshot
 * - Handle autosave success/error callbacks
 */
export declare function useEntrySyncHelpers({ uiStore, setErrorMessage, }: UseEntrySyncHelpersProps): {
    syncEntry: (nextEntry: ContentEntrySnapshot, opts?: {
        clearError?: boolean;
    }) => {
        values: import("../../../content-model/src/index").RoutableMetadataValues | Record<string, never>;
        baseline: import("../../../content-model/src/index").RoutableMetadataValues | Record<string, never>;
    };
    resetFromSnapshot: (snapshot: {
        baseline: Record<string, unknown>;
        values: Record<string, unknown>;
    }, _resetOptions?: unknown) => void;
    handleMetadataAutosaveSuccess: (nextEntry: ContentEntrySnapshot) => void;
    markAutosaveError: (error: unknown) => string;
};
export {};
