type SchemaBuilder = { rollback(): Promise; }; type ApiHandler = { rollback(uid: string): Promise; clearGenerated(apiName: string): Promise; finalize(uid: string): Promise; }; export declare const finalizeSchemaMutation: ({ apiHandler, backedUpApiUids, }: { apiHandler: ApiHandler; backedUpApiUids?: string[]; }) => Promise; /** * Restores the filesystem artifacts touched before content-structure reconciliation: the * generated rename migration, generated APIs, the schema files and API backups. * Folder reconciliation is deliberately the final mutation, so groups.json never needs a * compensating write when an earlier schema or API operation fails. */ export declare const rollbackSchemaMutation: ({ builder, apiHandler, backedUpApiUids, generatedApiNames, schemaAlreadyRolledBack, migrationFilePath, }: { builder: SchemaBuilder; apiHandler: ApiHandler; backedUpApiUids?: string[]; generatedApiNames?: string[]; schemaAlreadyRolledBack?: boolean; migrationFilePath?: string | null; }) => Promise; export {}; //# sourceMappingURL=schema-mutation.d.ts.map