/** * 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 { UserHomeDirResponse } from '../models'; import type { WorkDirResponse } from '../models'; /** * InfoApi - axios parameter creator * @export */ export declare const InfoApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get the current user home directory path. * @summary Get user home directory * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUserHomeDir: (options?: RawAxiosRequestConfig) => Promise; /** * Get the current daemon version * @summary Get version * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVersion: (options?: RawAxiosRequestConfig) => Promise; /** * Get the current working directory path. This is default directory used for running commands. * @summary Get working directory * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWorkDir: (options?: RawAxiosRequestConfig) => Promise; }; /** * InfoApi - functional programming interface * @export */ export declare const InfoApiFp: (configuration?: Configuration) => { /** * Get the current user home directory path. * @summary Get user home directory * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUserHomeDir(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get the current daemon version * @summary Get version * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVersion(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: string; }>>; /** * Get the current working directory path. This is default directory used for running commands. * @summary Get working directory * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWorkDir(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * InfoApi - factory interface * @export */ export declare const InfoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get the current user home directory path. * @summary Get user home directory * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUserHomeDir(options?: RawAxiosRequestConfig): AxiosPromise; /** * Get the current daemon version * @summary Get version * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVersion(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: string; }>; /** * Get the current working directory path. This is default directory used for running commands. * @summary Get working directory * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWorkDir(options?: RawAxiosRequestConfig): AxiosPromise; }; /** * InfoApi - object-oriented interface * @export * @class InfoApi * @extends {BaseAPI} */ export declare class InfoApi extends BaseAPI { /** * Get the current user home directory path. * @summary Get user home directory * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof InfoApi */ getUserHomeDir(options?: RawAxiosRequestConfig): Promise>; /** * Get the current daemon version * @summary Get version * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof InfoApi */ getVersion(options?: RawAxiosRequestConfig): Promise>; /** * Get the current working directory path. This is default directory used for running commands. * @summary Get working directory * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof InfoApi */ getWorkDir(options?: RawAxiosRequestConfig): Promise>; }