import type { Internal } from '@strapi/types'; /** * Deletes the API folder of a contentType */ export declare function clear(uid: Internal.UID.ContentType, { preserveBackup }?: { preserveBackup?: boolean; }): Promise; /** * Deletes an inactive rollback backup after the enclosing schema mutation has committed. * A failed cleanup leaves only housekeeping residue; it does not alter committed schema, API, * or groups.json artifacts. */ export declare function finalize(uid: Internal.UID.ContentType): Promise; /** * Backups the API folder of a contentType * @param {string} uid content type uid */ export declare function backup(uid: Internal.UID.ContentType): Promise; /** * Rollbacks the API folder of a contentType */ export declare function rollback(uid: Internal.UID.ContentType): Promise; /** * Removes an API skeleton created for a new content type before its schema mutation commits. */ export declare function clearGenerated(apiName: string): Promise; //# sourceMappingURL=api-handler.d.ts.map