import type { DocumentQuery, DbOperation } from './types.ts'; /** * Removes a document and all associated data * * This function permanently deletes: * - The document itself * - All routes pointing to the document (CASCADE via document_id FK) * - All uploads associated with the document (CASCADE via document_id FK) * - All document records (current and draft versions) via manual cleanup * * The operation is performed in a transaction to ensure consistency. * If any part fails, all changes are rolled back. * * @param client Database client * @param query Document identifier (path, id, or object) * @returns true if document was removed, false if not found */ export declare const removeDocument: DbOperation<[DocumentQuery], boolean>; //# sourceMappingURL=removeDocument.d.ts.map