import { ReactNode } from 'react'; export interface Icon { name: string; content: ReactNode; clickSound: T; tripleSound: T; } export interface Sound { name: T; src: string; } type Operation = 'shift' | 'undo' | 'wash'; // TODO title name 冗余 export interface Theme { title: string; desc?: ReactNode; name: string; bgm?: string; pure?: boolean; icons: Icon[]; sounds: Sound[]; operateSoundMap?: Record; }