import { ReactNode } from "react"; import type { BlocksFieldClient, FieldState, FormState } from "payload"; interface ReduceFormStateByPathArgs { formState: FormState; path: string; } export declare function reduceFormStateByPath({ formState, path, }: ReduceFormStateByPathArgs): FormState; interface MergeBlocksFormStateArgs { blocks: BlocksFieldClient["blocks"]; currentFieldState: FieldState | undefined; existingFieldComponent: ReactNode; path: string; state: FormState; } export declare function hydrateBlocksFieldCustomComponents({ blocks, currentFieldState, existingFieldComponent, path, state, }: MergeBlocksFormStateArgs): { [x: string]: FieldState; }; type BlocksClipboardArgs = { blocks: BlocksFieldClient["blocks"]; currentFieldState: FieldState | undefined; existingFieldComponent: React.ReactNode; formState: FormState; path: string; type: string; }; export declare function copyBlocksFieldToClipboard({ formState, path, type, }: Pick): void; export declare function pasteBlocksFieldFromClipboard({ blocks, currentFieldState, existingFieldComponent, formState, path, type, }: BlocksClipboardArgs): { [x: string]: FieldState; } | null; export {};