export interface Completion { name: string, description?: string } export type CompletionFunc = ( options: Record, params: string[] ) => Promise