Resolves once the store is empty.
await clearExports();
export async function clearExports(): Promise<void> {
try {
const db = await getDB();
await db.clear(IDB_STORE.EXPORTS);
emitIdbEvent(IDB_EXPORTS_UPDATED);
} catch (error) {
logger.error(`Failed to clear exports from IndexedDB: ${getErrorMessage(error)}`, { error });
}
}
Empties the export cache.