/** * Kinescope API Client * * Базовый HTTP клиент для работы с Kinescope API * На основе документации: https://documenter.getpostman.com/view/10589901/TVCcXpNM */ import { AxiosRequestConfig } from 'axios'; export interface KinescopeClientOptions { apiKey: string; baseURL?: string; apiVersion?: 'v1' | 'v2'; } export declare class KinescopeClient { private client; apiKey: string; private baseURL; constructor(options: KinescopeClientOptions); /** * Получить базовый URL клиента */ getBaseURL(): string; /** * Выполняет HTTP запрос к Kinescope API */ request(method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH', path: string, data?: any, config?: AxiosRequestConfig): Promise; /** * GET запрос */ get(path: string, config?: AxiosRequestConfig): Promise; /** * POST запрос */ post(path: string, data?: any, config?: AxiosRequestConfig): Promise; /** * PUT запрос */ put(path: string, data?: any, config?: AxiosRequestConfig): Promise; /** * DELETE запрос */ delete(path: string, config?: AxiosRequestConfig): Promise; /** * PATCH запрос */ patch(path: string, data?: any, config?: AxiosRequestConfig): Promise; } //# sourceMappingURL=client.d.ts.map