/** * Daytona Toolbox API * Daytona Toolbox API. The base URL comes from the sandbox\'s `toolboxProxyUrl` field (returned in sandbox DTO by the main Daytona API) plus the sandbox ID: `{toolboxProxyUrl}/{sandboxId}/{endpoint}`. Default for Daytona Cloud: `https://proxy.app.daytona.io/toolbox/{sandboxId}`. * * The version of the OpenAPI document: v0.0.0-dev * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { IsPortInUseResponse } from '../models'; import type { PortList } from '../models'; /** * PortApi - axios parameter creator */ export declare const PortApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get a list of all currently active ports * @summary Get active ports * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPorts: (options?: RawAxiosRequestConfig) => Promise; /** * Check if a specific port is currently in use * @summary Check if port is in use * @param {number} port Port number (3000-9999) * @param {*} [options] Override http request option. * @throws {RequiredError} */ isPortInUse: (port: number, options?: RawAxiosRequestConfig) => Promise; }; /** * PortApi - functional programming interface */ export declare const PortApiFp: (configuration?: Configuration) => { /** * Get a list of all currently active ports * @summary Get active ports * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPorts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Check if a specific port is currently in use * @summary Check if port is in use * @param {number} port Port number (3000-9999) * @param {*} [options] Override http request option. * @throws {RequiredError} */ isPortInUse(port: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PortApi - factory interface */ export declare const PortApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get a list of all currently active ports * @summary Get active ports * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPorts(options?: RawAxiosRequestConfig): AxiosPromise; /** * Check if a specific port is currently in use * @summary Check if port is in use * @param {number} port Port number (3000-9999) * @param {*} [options] Override http request option. * @throws {RequiredError} */ isPortInUse(port: number, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * PortApi - object-oriented interface */ export declare class PortApi extends BaseAPI { /** * Get a list of all currently active ports * @summary Get active ports * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPorts(options?: RawAxiosRequestConfig): Promise>; /** * Check if a specific port is currently in use * @summary Check if port is in use * @param {number} port Port number (3000-9999) * @param {*} [options] Override http request option. * @throws {RequiredError} */ isPortInUse(port: number, options?: RawAxiosRequestConfig): Promise>; }