mindee
Version:
Mindee Client Library for Node.js
16 lines (15 loc) • 481 B
TypeScript
import { Dispatcher } from "undici";
export interface MindeeApiConstructorProps {
apiKey?: string;
dispatcher?: Dispatcher;
}
export declare abstract class BaseSettings {
apiKey: string;
hostname: string;
timeoutSecs: number;
dispatcher: Dispatcher;
protected constructor(apiKey?: string, dispatcher?: Dispatcher);
protected getUserAgent(): string;
protected abstract apiKeyFromEnv(): string;
protected abstract hostnameFromEnv(): string;
}