import { BrowserWindow } from 'electron'
import { Store } from '../Store'

export interface KeychainInterface {
  ensureKeychainAccess(store: Store): Promise<BrowserWindow | undefined>
  getKeychainValue(): Promise<unknown>
  setKeychainValue(value: unknown): Promise<void>
  clearKeychainValue(): Promise<boolean>
}
