UNPKG

@vulog/aima-search

Version:

24 lines (20 loc) 461 B
import { Client } from '@vulog/aima-client'; type Search = { fleetid: string; id: string; } & ({ type: 'user'; email: string; firstname: string; lastname: string; phone: string; username: string; } | { type: 'vehicules'; modelname: string; plate: string; vehiculename: string; vuboxid: string; }); declare const search: (client: Client, query: string) => Promise<Search[]>; export { type Search, search };