import type { EditorBlockId } from '@riverbankcms/core';
import { z } from 'zod';
export type InvalidBlockRecoveryScope = Readonly<{
    siteId: string;
    entryId: string;
}>;
declare const invalidBlockRecoveryEntrySchema: z.ZodObject<{
    baseline: z.ZodNullable<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>;
    values: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
}, z.core.$strip>;
export type InvalidBlockRecoveryEntry = Readonly<z.infer<typeof invalidBlockRecoveryEntrySchema>>;
export declare function readInvalidBlockRecovery(scope: InvalidBlockRecoveryScope, blockId: EditorBlockId): InvalidBlockRecoveryEntry | null;
export declare function writeInvalidBlockRecovery(scope: InvalidBlockRecoveryScope, blockId: EditorBlockId, values: Record<string, unknown>, baseline: Record<string, unknown> | null): boolean;
export declare function clearInvalidBlockRecovery(scope: InvalidBlockRecoveryScope, blockId: EditorBlockId): void;
export {};
