/** What the miniplayer window shows, sent from the main window (src/player/miniWindow.ts). */ export interface MiniState { title: string; subtitle: string; paused: boolean; ended: boolean; position: number; duration: number; loading: boolean; buffering: boolean; error: boolean; } /** Buttons and gestures in the miniplayer window, carried out by the main window's player. */ export type MiniAction = 'ready' | 'toggle' | 'back' | 'forward' | 'expand' | 'close'; export const MINI_CORNER_KEY = 'kaleido.miniCorner';