/** * log10x_discover_env * * Read-only discovery of the caller's Kubernetes cluster + AWS account. * Produces a DiscoverySnapshot (stored in-memory for 30 min) and a * terse markdown report of what was found. The advise_{reporter, * receiver, retriever} tools consume the snapshot by id. * * Nothing here mutates state. Every probe is a `kubectl get` or * `aws ...describe/list` call. If kubectl or aws isn't configured, the * corresponding probe section shows `available: false` and the advise * tools fall back to asking the user for the facts. */ import { z } from 'zod'; import type { DiscoverySnapshot } from '../lib/discovery/types.js'; import { type StructuredOutput } from '../lib/output-types.js'; import type { Mode } from '../lib/mode-detect.js'; export declare const discoverEnvSchema: { namespaces: z.ZodOptional>; region: z.ZodOptional; eks_cluster_name: z.ZodOptional; bucket_hint: z.ZodOptional; forwarder_hint: z.ZodOptional>; namespace_hint: z.ZodOptional; skip_kubectl: z.ZodOptional; skip_aws: z.ZodOptional; }; declare const schemaObj: z.ZodObject<{ namespaces: z.ZodOptional>; region: z.ZodOptional; eks_cluster_name: z.ZodOptional; bucket_hint: z.ZodOptional; forwarder_hint: z.ZodOptional>; namespace_hint: z.ZodOptional; skip_kubectl: z.ZodOptional; skip_aws: z.ZodOptional; }, "strip", z.ZodTypeAny, { region?: string | undefined; namespaces?: string[] | undefined; eks_cluster_name?: string | undefined; bucket_hint?: string | undefined; forwarder_hint?: "vector" | "fluentbit" | "fluentd" | "filebeat" | "logstash" | "otel-collector" | undefined; namespace_hint?: string | undefined; skip_kubectl?: boolean | undefined; skip_aws?: boolean | undefined; }, { region?: string | undefined; namespaces?: string[] | undefined; eks_cluster_name?: string | undefined; bucket_hint?: string | undefined; forwarder_hint?: "vector" | "fluentbit" | "fluentd" | "filebeat" | "logstash" | "otel-collector" | undefined; namespace_hint?: string | undefined; skip_kubectl?: boolean | undefined; skip_aws?: boolean | undefined; }>; export type DiscoverEnvArgs = z.infer; export declare function executeDiscoverEnv(args: DiscoverEnvArgs, mode?: Mode | null): Promise; /** * Render a terse markdown report. Designed for agent consumption: * - Lead with snapshot_id so the next tool call knows what to quote. * - Summarize findings per-section in <= 10 lines. * - List "what to do next" tool calls at the bottom. */ export declare function renderDiscoverReport(s: DiscoverySnapshot): string; export {};