import type { FieldPath } from '../model/implementation/field-path.js'; import type { RootEntityType } from '../model/implementation/root-entity-type.js'; import type { QueryNode } from '../query-tree/base.js'; import { DeleteEntitiesQueryNode, DeleteEntitiesResultValue } from '../query-tree/mutations.js'; import { WithPreExecutionQueryNode } from '../query-tree/pre-exec.js'; export interface GenerateDeleteAllQueryNodeOptions { readonly resultValue?: DeleteEntitiesResultValue; /** * An array of paths to fields that should be treated as if they were configured with * onDelete=CASCADE */ readonly additionalCascadeFields?: ReadonlyArray; } export declare function generateDeleteAllQueryNode(rootEntityType: RootEntityType, listNode: QueryNode, { resultValue, additionalCascadeFields, }?: GenerateDeleteAllQueryNodeOptions): DeleteEntitiesQueryNode | WithPreExecutionQueryNode;