export type IDrivers = "spotify" | "youtube" | "soundcloud" | "deezer"; export interface ISearchOptionBase { type: TypeList; requestOptions?: ReqOptsType; } export interface IDriverBase { config: ConfigType; platform: IDrivers; search?: (query: string, options: ISearchOptionBase) => Promise; getById?: (id: string | number, options: ISearchOptionBase) => Promise; }