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 { CreateSnapshotRequest } from "../models/CreateSnapshotRequest"; import { CreateSnapshotResponse } from "../models/CreateSnapshotResponse"; export declare class ReportingAndSharingApiRequestFactory extends BaseAPIRequestFactory { createSnapshot(body: CreateSnapshotRequest, _options?: Configuration): Promise; } export declare class ReportingAndSharingApiResponseProcessor { /** * 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 createSnapshot * @throws ApiException if the response code was not in [200, 299] */ createSnapshot(response: ResponseContext): Promise; } export interface ReportingAndSharingApiCreateSnapshotRequest { /** * @type CreateSnapshotRequest */ body: CreateSnapshotRequest; } export declare class ReportingAndSharingApi { private requestFactory; private responseProcessor; private configuration; constructor(configuration: Configuration, requestFactory?: ReportingAndSharingApiRequestFactory, responseProcessor?: ReportingAndSharingApiResponseProcessor); /** * Create a snapshot of a graph widget. The snapshot is rendered asynchronously; the returned URL can be polled until the image is ready. * @param param The request object */ createSnapshot(param: ReportingAndSharingApiCreateSnapshotRequest, options?: Configuration): Promise; }