@elastic.io/component-commons-library
Version:
Library for most common component development cases
11 lines (10 loc) • 445 B
TypeScript
import { BasicAuthRestClient } from '../authentication/BasicAuthRestClient';
export declare class PlatformApiRestClient extends BasicAuthRestClient {
usingTaskUser: boolean;
private readonly userAgentHeaders;
private readonly userAgent;
private readonly msgId;
constructor(emitter: any, cfg: any, userAgent?: string, msgId?: string);
handleRestResponse(response: any): any;
makeRequest(options: any): Promise<any>;
}