import type { ASTAttrs, ASTType } from '../../ast/types'; /** * Saucer AST modify actions */ export declare function useASTDispatchAction(): { dispatchInsertBefore: (targetPath: string, type: ASTType, nodeId: string, cupName: string, attrs?: ASTAttrs) => void; dispatchInsertAfter: (targetPath: string, type: ASTType, nodeId: string, cupName: string, attrs?: ASTAttrs) => void; dispatchAppendChildren: (targetPath: string, type: ASTType, nodeId: string, cupName: string, attrs?: ASTAttrs) => void; dispatchRemoveNodeById: (nodeId: string) => void; dispatchMoveNodeByPath: (fromPath: string, toPath: string) => void; };