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 EnvironmentVariables extends ClientSDK { /** * List all variables * * @remarks * Returns all environment variables for the current organization. Secret values are masked. */ list(search?: string | undefined, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Create a variable * * @remarks * Creates a new environment variable. Keys must be uppercase with underscores only (e.g. BASE_URL). Secret variables are encrypted at rest and masked in API responses. */ create(createEnvironmentVariableRequestDto: components.CreateEnvironmentVariableRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Get environment variable * * @remarks * Returns a single environment variable by key. Secret values are masked. */ retrieve(variableKey: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Update a variable * * @remarks * Updates an existing environment variable. Providing `values` merges them into the existing per-environment values by `_environmentId`; envs not present in the request keep their stored value. Submitting the masked secret placeholder (the value returned by read endpoints for secret variables) as a real value is rejected. */ update(updateEnvironmentVariableRequestDto: components.UpdateEnvironmentVariableRequestDto, variableKey: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Delete environment variable * * @remarks * Deletes an environment variable by key. */ delete(variableKey: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Retrieve a variable usage * * @remarks * Returns the workflows that reference this environment variable via `{{env.KEY}}` in their step controls. **variableId** is required. */ usage(variableKey: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=environmentvariables.d.ts.map