import { Playlist } from "./playlist"; import { Track } from "./track"; import { User } from "./user"; export declare type SearchFilter = "tracks" | "users" | "albums" | "playlists" | "all"; export interface SearchOptions { query: string; limit?: number; offset?: number; filter?: SearchFilter; } export interface SearchResponse { collection: T[]; total_results: number; next_href?: string; query_urn: string; }