import type { Context } from "../../api/types.js"; /** * Recursively deletes the task identified by `rootId`, all its descendants, and * their logs (when the owning definition has databaseLogs=true). Bottom-up, * best-effort: per-record errors are logged and swallowed, the function never * throws. */ export declare const createCleanupTaskSubtree: (context: Context) => (rootId: string) => Promise;