import { BaseAPIRequestFactory } from "../../datadog-api-client-common/baseapi"; import { Configuration } from "../../datadog-api-client-common/configuration"; import { RequestContext, ResponseContext } from "../../datadog-api-client-common/http/http"; import { TimeseriesAnomalyInvestigationRequest } from "../models/TimeseriesAnomalyInvestigationRequest"; import { TimeseriesAnomalyInvestigationResponse } from "../models/TimeseriesAnomalyInvestigationResponse"; export declare class TimeseriesAnomalyInvestigationsApiRequestFactory extends BaseAPIRequestFactory { createTimeseriesAnomalyInvestigation(body: TimeseriesAnomalyInvestigationRequest, _options?: Configuration): Promise; } export declare class TimeseriesAnomalyInvestigationsApiResponseProcessor { /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createTimeseriesAnomalyInvestigation * @throws ApiException if the response code was not in [200, 299] */ createTimeseriesAnomalyInvestigation(response: ResponseContext): Promise; } export interface TimeseriesAnomalyInvestigationsApiCreateTimeseriesAnomalyInvestigationRequest { /** * Metrics timeseries request to investigate. The request body must not exceed 2 MiB. * @type TimeseriesAnomalyInvestigationRequest */ body: TimeseriesAnomalyInvestigationRequest; } export declare class TimeseriesAnomalyInvestigationsApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: TimeseriesAnomalyInvestigationsApiRequestFactory, responseProcessor?: TimeseriesAnomalyInvestigationsApiResponseProcessor); /** * Investigates a metrics timeseries request for its most significant anomalies and returns * deterministic findings. Metrics queries with or without grouping are supported. This * API version accepts exactly one request and returns at most three anomalies. * @param param The request object */ createTimeseriesAnomalyInvestigation(param: TimeseriesAnomalyInvestigationsApiCreateTimeseriesAnomalyInvestigationRequest, options?: Configuration): Promise; }