UNPKG

yandex-music-client

Version:

``` npm i yandex-music-client ```

17 lines (16 loc) 586 B
import type { ApiRequestOptions } from './ApiRequestOptions'; type Resolver<T> = (options: ApiRequestOptions) => Promise<T>; type Headers = Record<string, string>; export type OpenAPIConfig = { BASE: string; VERSION: string; WITH_CREDENTIALS: boolean; CREDENTIALS: 'include' | 'omit' | 'same-origin'; TOKEN?: string | Resolver<string>; USERNAME?: string | Resolver<string>; PASSWORD?: string | Resolver<string>; HEADERS?: Headers | Resolver<Headers>; ENCODE_PATH?: (path: string) => string; }; export declare const OpenAPI: OpenAPIConfig; export {};