import { PortableTextBlock } from '@sanity/portable-text-editor';
import PatchEvent from '../../../PatchEvent';
declare type UnsetFunction = () => void;
declare type SetFunction = (args0: PortableTextBlock) => void;
declare type InsertFunction = (args0: PortableTextBlock | PortableTextBlock[]) => void;
export declare function createBlockActionPatchFn(type: string, block: PortableTextBlock, onPatch: (event: PatchEvent) => void, allowedDecorators: string[]): UnsetFunction | SetFunction | InsertFunction;
export {};
//# sourceMappingURL=createBlockActionPatchFn.d.ts.map