import { OpenDialog , LinuxOpenDialog , WindowsOpenDialog , MacOpenDialog } from "./openDialog" ; export { OpenDialog } from './openDialog' ; /**
 * Handles native dialogs for different platforms
 */ export class DialogHandler { param delay static async getOpenDialog ( delay = 4000 ) { await new Promise ( ( res ) => { setTimeout ( res , delay ) ; } ) ; switch ( process . platform ) { case 'win32' : { return new WindowsOpenDialog ( ) ; } case 'darwin' : { return new MacOpenDialog ( ) ; } case 'linux' : { return new LinuxOpenDialog ( ) ; } } return new LinuxOpenDialog ( ) ; } }