import { type CompletionItem } from '@pnpm/tabtab'; export type CompletionFunc = (options: Record, params: string[]) => Promise;