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 Environments extends ClientSDK { /** * List environment tags * * @remarks * Retrieve all unique tags used in workflows within the specified environment. These tags can be used for filtering workflows. */ getTags(environmentId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Compare resources between environments * * @remarks * Compares workflows and other resources between the source and target environments, returning detailed diff information including additions, modifications, and deletions. */ diff(diffEnvironmentRequestDto: components.DiffEnvironmentRequestDto, targetEnvironmentId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Publish resources to target environment * * @remarks * Publishes all workflows and resources from the source environment to the target environment. Optionally specify specific resources to publish or use dryRun mode to preview changes. */ publish(publishEnvironmentRequestDto: components.PublishEnvironmentRequestDto, targetEnvironmentId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Create an environment * * @remarks * Creates a new environment within the current organization. * Environments allow you to manage different stages of your application development lifecycle. * Each environment has its own set of API keys and configurations. */ create(createEnvironmentRequestDto: components.CreateEnvironmentRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * List all environments * * @remarks * This API returns a list of environments for the current organization. * Each environment contains its configuration, API keys (if user has access), and metadata. */ list(idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Update an environment * * @remarks * Update an environment by its unique identifier **environmentId**. * You can modify the environment name, identifier, color, and other configuration settings. */ update(updateEnvironmentRequestDto: components.UpdateEnvironmentRequestDto, environmentId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Delete an environment * * @remarks * Delete an environment by its unique identifier **environmentId**. * This action is irreversible and will remove the environment and all its associated data. */ delete(environmentId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=environments.d.ts.map