mindee
Version:
Mindee Client Library for Node.js
19 lines (18 loc) • 583 B
TypeScript
export declare const API_KEY_ENVVAR_NAME: string;
export declare const API_HOST_ENVVAR_NAME: string;
export declare const STANDARD_API_OWNER: string;
export declare const TIMEOUT_DEFAULT: number;
interface MindeeApiConstructorProps {
apiKey: string;
}
export declare class ApiSettings {
apiKey: string;
baseHeaders: Record<string, string>;
hostname: string;
timeout: number;
constructor({ apiKey, }: MindeeApiConstructorProps);
protected getUserAgent(): string;
protected apiKeyFromEnv(): string;
protected hostnameFromEnv(): string;
}
export {};