import { ElectronAPI } from '@electron-toolkit/preload'

import type { Profile } from '../main/api/types'

declare global {
  interface Window {
    electron: ElectronAPI
    api: {
      requestProfiles: () => Promise<Profile[]>
    }
  }
}
