aboutsummaryrefslogtreecommitdiff
path: root/src/background/completion/TabRepository.ts
blob: 61fac3b7e3650937d63f82432fbdabe036711a4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
export type Tab = {
  id: number
  index: number
  active: boolean
  title: string
  url: string
  faviconUrl?: string
}

export default interface TabRepository {
  queryTabs(query: string, excludePinned: boolean): Promise<Tab[]>;
}