import { RootEntityType } from '../model'; import { DeleteEntitiesQueryNode, DeleteEntitiesResultValue, QueryNode, WithPreExecutionQueryNode } from '../query-tree'; import { FieldPath } from '../model/implementation/field-path'; 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;