import { RestClientBase } from './RestClient.base'; import { InferenceMode, VitalLensAPIResponse } from '../types'; import { ResolveModelResponse } from '../types/IRestClient'; export declare class RestClient extends RestClientBase { /** * Get the REST endpoint (Direct API usage). * @returns The REST endpoint. */ protected getRestEndpoint(mode: InferenceMode): string; /** * Sends a HTTP GET request to resolve which model to use. * @param requestedModel - The requested model (optional) * @returns The response */ resolveModel(requestedModel?: string): Promise; /** * Sends an HTTP POST request. * @param headers - The headers. * @param body - The body. * @param mode - The inference mode ('file' or 'stream'). * @returns The server's response as a JSON-parsed object. */ protected postRequest(headers: Record, body: Record | Uint8Array, mode: InferenceMode): Promise; /** * Compresses a Uint8Array using the specified COMPRESSION_MODE. * Uses Node.js zlib module. * * @param data - The binary data to compress. * @returns A Promise that resolves with the compressed data as a Uint8Array. */ protected compress(data: Uint8Array): Promise; } //# sourceMappingURL=RestClient.node.d.ts.map