//#region src/nes/nes-types.d.ts /** Matches `helper::Nes::State` enum strings. */ type NesState = 'Idle' | 'Loaded' | 'Running' | 'Paused' | 'Stopped' | 'Error'; /** Matches `helper::Nes::VideoMode` enum strings. */ type NesVideoMode = 'Native' | 'Fit' | 'Fill'; /** Matches `helper::Nes::AudioMode` enum strings. */ type NesAudioMode = 'Disabled' | 'Auto' | 'Required'; type NesGamepadState = { up?: boolean; down?: boolean; left?: boolean; right?: boolean; a?: boolean; b?: boolean; select?: boolean; start?: boolean; x?: boolean; }; type NesVideoArea = { x?: number; y?: number; width?: number; height?: number; }; type NesConfig = { rom_path: string; save_path?: string; display_output_name?: string; display_source_name?: string; video_area?: NesVideoArea; video_mode?: NesVideoMode; audio_mode?: NesAudioMode; auto_activate_display?: boolean; }; //#endregion export { NesVideoArea as a, NesState as i, NesConfig as n, NesVideoMode as o, NesGamepadState as r, NesAudioMode as t }; //# sourceMappingURL=nes-types-DNzGSREH.d.mts.map