Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

441 B
Raw Blame
export type FileDialogFilter = { name: string; extensions: string[] };

export type SaveDialogOptions = {
  title?: string;
  defaultPath?: string;
  filters?: FileDialogFilter[];
};

export type DialogsService = {
  /** Resolves to the chosen absolute path; null when cancelled, unsupported or failed. */
  showSaveDialog(options: SaveDialogOptions): Promise<string | null>;
  readTextFile(absolutePath: string): Promise<string | null>;
};