package files import "context" // DirectoryPicker opens a platform directory chooser. The implementation must // block only in its own goroutine; UI callers receive the result asynchronously. type DirectoryPicker interface { ChooseDirectory(context.Context) (string, error) } // ExecutablePicker opens a platform file chooser for an existing browser // executable. The implementation must block only in its own goroutine; UI // callers receive the result asynchronously. type ExecutablePicker interface { ChooseExecutable(context.Context) (string, error) }