import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class Envs extends APIResource { /** * Get config environment variables for the current organization. */ retrieveConfig(params?: EnvRetrieveConfigParams | null | undefined, options?: RequestOptions): APIPromise; } export type EnvRetrieveConfigResponse = Array; export declare namespace EnvRetrieveConfigResponse { /** * Environment variable response schema. */ interface EnvRetrieveConfigResponseItem { /** * Environment variable ID */ id: string; /** * Environment variable name */ name: string; /** * Environment variable type */ type: 'KEY' | 'CONFIG'; /** * Environment variable value */ value: string; /** * The organization ID */ organization_id?: string | null; } } export interface EnvRetrieveConfigParams { /** * Query param: Organization slug. Required for global_admin to access other * organizations */ organization_slug?: string | null; /** * Header param */ 'Accept-Language'?: string; /** * Header param: Set to `structured` to receive errors in the structured envelope. * Omit it to keep the legacy error body. */ 'X-Error-Format'?: string; } export declare namespace Envs { export { type EnvRetrieveConfigResponse as EnvRetrieveConfigResponse, type EnvRetrieveConfigParams as EnvRetrieveConfigParams, }; } //# sourceMappingURL=envs.d.mts.map