/** * log10x_update_env — rename an env or set it as the user's default, * via `PUT /api/v1/user/env`. * * Backend handler: backend/lambdas/user-service-go/cmd/environment/main.go * (handleUpdate, dispatched on `PUT` and `PATCH`). Documented at * mksite/docs/api/manage.md "Update Environment". * * IMPORTANT: requires the `PUT /api/v1/user/env` route to be configured * in the API Gateway. Without it the call fails at the gateway layer * with a 4xx before the lambda is invoked. See the backend PUT route * (fix(gateway): wire PUT /api/v1/user/env). */ import { z } from 'zod'; import type { Environments } from '../lib/environments.js'; import { type StructuredOutput } from '../lib/output-types.js'; export declare const updateEnvSchema: { env_id: z.ZodString; name: z.ZodOptional; is_default: z.ZodOptional; }; export declare function executeUpdateEnv(args: { env_id: string; name?: string; is_default?: boolean; }, envs: Environments): Promise;