import { Databases } from "node-appwrite"; import type { DatabaseAdapter } from "appwrite-utils-helpers"; export declare const wipeDatabase: (database: Databases, databaseId: string) => Promise<{ collectionId: string; collectionName: string; }[]>; export declare const wipeCollection: (database: Databases, databaseId: string, collectionId: string) => Promise; export declare const wipeAllTables: (adapter: DatabaseAdapter, databaseId: string) => Promise<{ tableId: string; tableName: string; }[]>; /** * Optimized deletion of all rows from a table. * Uses bulk deletion when possible, but falls back to individual row deletion * for tables with relationship columns (bulk delete not supported for those). */ export declare const wipeTableRows: (adapter: DatabaseAdapter, databaseId: string, tableId: string) => Promise;