// Browser export uses already-cached bytes; it never issues another file GET.
// dart:html build (not --wasm). See installation notes for browser limitations.
import 'dart:html' as html;
import 'dart:typed_data';
Future<void> openManagedBytes(Uint8List bytes, String name, String account) async {
  final url = html.Url.createObjectUrlFromBlob(html.Blob([bytes], 'application/octet-stream'));
  final link = html.AnchorElement(href: url)..download = name;
  html.document.body?.append(link);
  link.click(); link.remove();
  Future<void>.delayed(const Duration(seconds: 30), () => html.Url.revokeObjectUrl(url));
}
Future<void> clearManagedExports(String account) async {}
