import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class ProcessesV2 extends ClientSDK { /** * GetProcessInfoV2Deprecated * * @remarks * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ getProcessInfoV2Deprecated(processId: string, appId?: string | undefined, options?: RequestOptions): Promise; /** * GetLatestProcessesV2Deprecated * * @remarks * Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ getLatestProcessesV2Deprecated(appId?: string | undefined, status?: Array | undefined, region?: Array | undefined, options?: RequestOptions): Promise>; /** * GetProcessesCountExperimentalV2Deprecated * * @remarks * Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ getProcessesCountExperimentalV2Deprecated(appId?: string | undefined, status?: Array | undefined, region?: Array | undefined, options?: RequestOptions): Promise; /** * StopProcessV2Deprecated * * @remarks * Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ stopProcessV2Deprecated(processId: string, appId?: string | undefined, options?: RequestOptions): Promise; /** * CreateProcessV2Deprecated * * @remarks * Creates a [process](https://hathora.dev/docs/concepts/hathora-entities#process) without a room. Use this to pre-allocate processes ahead of time so that subsequent room assignment via [CreateRoom()](https://hathora.dev/api#tag/RoomV2/operation/CreateRoom) can be instant. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ createProcessV2Deprecated(region: components.Region, appId?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=processesv2.d.ts.map