/** * Daytona Toolbox API * Daytona Toolbox API * * 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 */ 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 */ 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 */ 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 * @class PortApi * @extends {BaseAPI} */ 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} * @memberof PortApi */ 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} * @memberof PortApi */ isPortInUse(port: number, options?: RawAxiosRequestConfig): Promise>; }