UNPKG

snowcell

Version:

Official Snowcell Node.js/TypeScript SDK

21 lines 904 B
export declare const DEFAULT_API_BASE_URL: string; export declare const DEFAULT_INFERENCE_BASE_URL: string; export interface ClientOptions { apiToken?: string | null; apiBaseUrl?: string; inferenceBaseUrl?: string; timeoutMs?: number; headers?: Record<string, string>; } export declare class SnowcellClientBase { protected _apiToken: string | undefined; protected _apiBaseUrl: string; protected _inferenceBaseUrl: string; protected _timeoutMs: number; protected _headers: Record<string, string>; constructor(opts?: ClientOptions); protected _request(base: string, method: string, path: string, init?: RequestInit): Promise<Response>; protected _api(method: string, path: string, init?: RequestInit): Promise<Response>; protected _inference(method: string, path: string, init?: RequestInit): Promise<Response>; } //# sourceMappingURL=client.d.ts.map