/** Decoupled navigation events so landing/editor never import the entry module. */
export function openEditor(file?: File) {
  window.dispatchEvent(new CustomEvent('yeet:open', { detail: { file } }));
}
export function goHome() {
  window.dispatchEvent(new CustomEvent('yeet:home'));
}
