/** A Compose healthcheck: seconds between checks, seconds one check may take, and failures in a row. */ export interface Healthcheck { readonly intervalSeconds: number; readonly timeoutSeconds: number; readonly retries: number; } export declare const DEFAULT_CLI_TUNING: { /** `nylorun start` and the commands that reach the local stack. */ stack: { /** One `/health` or `/ready` probe of the Runtime. */ probeTimeoutMs: number; /** How long `start` waits for the Runtime's `/health`, and then for the Tenant to open. */ healthWaitMs: number; tenantWaitMs: number; /** How often `start` polls while it waits. */ pollMs: number; /** While the Tenant opens, `nylorun-operate status` is asked every this many polls. */ operateEveryPolls: number; /** `docker compose up --wait-timeout` of the core services, and of Studio, in seconds. */ composeWaitSeconds: number; studioWaitSeconds: number; /** How long a Studio login is retried, and how long one request for it may take. */ loginWaitMs: number; loginRequestMs: number; /** How long a key check against the Runtime (`/v1/me`) may take. */ keyCheckMs: number; /** The local key file's lock: how long to wait for it, when a held one is stale, how often to look. */ lockWaitMs: number; lockStaleMs: number; lockPollMs: number; /** Tries at picking a free port. */ portAttempts: number; /** How long one seed or model call to the Management API may take (`nylorun dev`). */ seedRequestMs: number; }; /** What `nylorun start` writes into the Compose file. */ compose: { /** Postgres's `max_slot_wal_keep_size`: the WAL a stuck replication slot may hold, in MiB. */ walKeepSizeMb: number; healthchecks: { postgres: Healthcheck; restate: Healthcheck; rustfs: Healthcheck; gateway: Healthcheck; runtime: Healthcheck; studio: Healthcheck; harness: Healthcheck; sandboxes: Healthcheck; }; }; /** `nylorun local sandbox` (agent-sandbox on a local Kubernetes cluster). */ sandbox: { /** How long a `kubectl` call may run before it is killed, and how much longer than a wait it was told. */ kubectlTimeoutMs: number; kubectlMarginMs: number; /** Downloading the agent-sandbox manifest. */ manifestDownloadMs: number; /** How long the CRD may take to be Established, and `rollout status` of the controller, in seconds. */ crdWaitSeconds: number; rolloutWaitSeconds: number; /** How long to wait for the service account's token Secret. */ tokenWaitMs: number; /** How often install and the network probe poll. */ pollMs: number; /** `docker compose up --wait-timeout` of the sandboxes service, in seconds. */ composeWaitSeconds: number; /** How long the sandboxes service's `/v1/info`, read from the runtime container, may take. */ infoRequestMs: number; /** The reachability probe: `wget -T` in seconds, and the `kubectl exec` around it. */ probeWgetSeconds: number; probeExecMs: number; /** How long probe pods may take to be Ready, in seconds, and the NetworkPolicy to apply. */ probeReadySeconds: number; policyTimeoutMs: number; /** How long image pre-pulls may take, and how often they are checked. */ prepullMs: number; prepullPollMs: number; /** A probe pod's `terminationGracePeriodSeconds`, and its resources (Kubernetes quantities). */ probeGraceSeconds: number; probeCpu: string; probeMemory: string; }; }; type Widen = T extends number ? number : T extends string ? string : { readonly [K in keyof T]: Widen; }; export type CliTuning = Widen; /** The CLI's tuning: `NYLORUN_CLI_TUNING` over the defaults, read now. */ export declare function cliTuning(env?: Readonly>): CliTuning; export {};