import type { StatesResponse } from '../models/StatesResponse'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class StatesService { /** * Get a list of lifecycle states * Use this API to get a list of lifecycle states that match the given parameters.

Token Permissions: [ `event_designer:access` ] * @returns StatesResponse Get a list of lifecycle states and the accompanying metadata. * @throws ApiError */ static getStates({ xContextId, }: { /** Optional context id the request is running. **/ xContextId?: string; }): CancelablePromise; }