import type { DeployEditingHostCreateOptions, DeployEditingHostDeleteOptions, DeployEditingHostDeployOptions, DeployEditingHostListOptions, DeployEditingHostUpdateOptions } from "./types.js"; /** * Editing host create with idempotent get-or-create semantics. The * Deploy API's `POST /environments` always creates a new editing * host environment, so naive re-runs accumulate duplicates with the * same name. Orchestrator pipelines re-create on every install — to * make those reruns produce a single editing host, this command: * * 1. Lists every environment in the editing host's project. * 2. Filters to type `eh` whose name matches `options.name` AND * whose `editingHostEnvironmentDetails.cmEnvironmentId` matches * the requested CM environment id (so two CMs in the same * project can each have a `` editing host without * colliding). * 3. If exactly one match → returns it, prints under the same * `deploy.editing-host.create` action key + a `reused: true` * flag for callers that care. * 4. Otherwise (no match) → falls through to the original POST. * * If multiple matches are found that's a real ambiguity in the * tenant — we throw with `INPUT_INVALID` rather than guess. */ export declare const runDeployEditingHostCreate: (options: DeployEditingHostCreateOptions) => Promise; export declare const runDeployEditingHostList: (options: DeployEditingHostListOptions) => Promise; export declare const runDeployEditingHostDelete: (options: DeployEditingHostDeleteOptions) => Promise; export declare const runDeployEditingHostUpdate: (options: DeployEditingHostUpdateOptions) => Promise; export declare const runDeployEditingHostDeploy: (options: DeployEditingHostDeployOptions) => Promise;