import { AxiosResponse } from "axios"; import { DeploymentData } from "../types/deployment"; import APIResource, { ResourceObject } from "./base"; import { EStubType } from "../types/stub"; export interface ListDeploymentsOptions { stubType?: EStubType; name?: string; cursor?: string; active?: boolean; stringFilter?: string; version?: string; createdAtStart?: string; createdAtEnd?: string; } interface DeploymentGetParams { id?: string; name?: string; stubType?: EStubType; url?: string; } declare class Deployments extends APIResource { object: string; protected _constructResource(data: any): Deployment; get(opts: DeploymentGetParams): Promise; } declare const _default: Deployments; export default _default; export declare class Deployment implements ResourceObject { data: DeploymentData; manager: Deployments; constructor(resource: Deployments, data: DeploymentData); refresh(): Promise; delete(): Promise; call(data: any, path?: string, method?: "GET" | "POST"): Promise>; realtime(path?: string, onmessage?: (event: MessageEvent) => void): Promise; websocketUrl(path?: string): string; httpUrl(path?: string): string; get stubDeploymentType(): string; }