import type { EnvironmentResponse } from '../models/EnvironmentResponse'; import type { EnvironmentsResponse } from '../models/EnvironmentsResponse'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class EnvironmentsService { /** * Get a list of environments * Use this API to get a list of all environments.

Token Permissions: [ `event_designer:access` ] * @returns EnvironmentsResponse Get a list of environments and the accompanying metadata. * @throws ApiError */ static getEnvironments({ xContextId, pageSize, pageNumber, sort, like, ids, }: { /** Optional context id the request is running. **/ xContextId?: string; /** The number of environments to get per page. **/ pageSize?: number; /** The page number to get. **/ pageNumber?: number; sort?: string; like?: string; ids?: Array; }): CancelablePromise; /** * Get an environment * Use this API to get a single environment by its ID.

Token Permissions: [ `event_designer:access` ] * @returns EnvironmentResponse The environment. * @throws ApiError */ static getEnvironment({ id, xContextId, }: { /** The ID of the environment. **/ id: string; /** Optional context id the request is running. **/ xContextId?: string; }): CancelablePromise; }