import { s } from "@garden-io/grow-sdk/schema"; import type { ConfigWrapper } from "../config/wrapper"; import type { Issue } from "../issues"; import type { Log } from "../logger/log-entry"; export declare const topLevelIssueSchema: import("zod").ZodObject; severity: import("zod").ZodEnum<["error", "warning"]>; entity: import("zod").ZodOptional; key: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { key: string; type: "command" | "action"; }, { key: string; type: "command" | "action"; }>>; detail: import("zod").ZodOptional; }, { entity: import("zod").ZodOptional; key: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { key: string; category: "command" | "action"; }, { key: string; category: "command" | "action"; }>>; }>, "strip", import("zod").ZodTypeAny, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }>; export type TopLevelIssue = s.infer; export declare const actionInfoSchema: import("zod").ZodObject<{ name: import("zod").ZodString; type: import("zod").ZodString; key: import("zod").ZodString; description: import("zod").ZodOptional; growfilePath: import("zod").ZodString; issues: import("zod").ZodOptional; severity: import("zod").ZodEnum<["error", "warning"]>; entity: import("zod").ZodOptional; key: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { key: string; type: "command" | "action"; }, { key: string; type: "command" | "action"; }>>; detail: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; key: string; type: string; growfilePath: string; description?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }, { name: string; key: string; type: string; growfilePath: string; description?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }>; export declare const commandInfoSchema: import("zod").ZodObject<{ name: import("zod").ZodString; help: import("zod").ZodOptional; description: import("zod").ZodOptional; issues: import("zod").ZodOptional; severity: import("zod").ZodEnum<["error", "warning"]>; entity: import("zod").ZodOptional; key: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { key: string; type: "command" | "action"; }, { key: string; type: "command" | "action"; }>>; detail: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }, { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }>; export type CommandInfo = s.infer; export declare const validateCommand: import("@garden-io/grow-sdk/declarations/command").DeclaredCommand<[], [], import("zod").ZodObject<{ errors: import("zod").ZodArray, "many">; exitCode: import("zod").ZodNumber; result: import("zod").ZodObject<{ actions: import("zod").ZodArray; growfilePath: import("zod").ZodString; issues: import("zod").ZodOptional; severity: import("zod").ZodEnum<["error", "warning"]>; entity: import("zod").ZodOptional; key: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { key: string; type: "command" | "action"; }, { key: string; type: "command" | "action"; }>>; detail: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; key: string; type: string; growfilePath: string; description?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }, { name: string; key: string; type: string; growfilePath: string; description?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }>, "many">; commands: import("zod").ZodArray; description: import("zod").ZodOptional; issues: import("zod").ZodOptional; severity: import("zod").ZodEnum<["error", "warning"]>; entity: import("zod").ZodOptional; key: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { key: string; type: "command" | "action"; }, { key: string; type: "command" | "action"; }>>; detail: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }, { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }>, "many">; issues: import("zod").ZodArray; severity: import("zod").ZodEnum<["error", "warning"]>; entity: import("zod").ZodOptional; key: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { key: string; type: "command" | "action"; }, { key: string; type: "command" | "action"; }>>; detail: import("zod").ZodOptional; }, { entity: import("zod").ZodOptional; key: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { key: string; category: "command" | "action"; }, { key: string; category: "command" | "action"; }>>; }>, "strip", import("zod").ZodTypeAny, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }, { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }>, "many">; }, "strip", import("zod").ZodTypeAny, { actions: { name: string; key: string; type: string; growfilePath: string; description?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; issues: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }[]; commands: { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; }, { actions: { name: string; key: string; type: string; growfilePath: string; description?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; issues: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }[]; commands: { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; }>; }, "strict", import("zod").ZodTypeAny, { result: { actions: { name: string; key: string; type: string; growfilePath: string; description?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; issues: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }[]; commands: { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; }; errors: import("@garden-io/grow-sdk/errors").GrowError[]; exitCode: number; }, { result: { actions: { name: string; key: string; type: string; growfilePath: string; description?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; issues: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }[]; commands: { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; }; errors: import("@garden-io/grow-sdk/errors").GrowError[]; exitCode: number; }>, { needsConfig: boolean; usesCloud: boolean; isHidden: boolean; aliases: string[]; }, { log: Log; ctx: import("..").GrowContext; globalOpts: import("@garden-io/grow-sdk/declarations/params").ParameterValues; }>; export declare function summarizeCommands(log: Log, config: ConfigWrapper): Promise<{ commandInfo: { name: string; description?: string | undefined; help?: string | undefined; issues?: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; type: "command" | "action"; } | undefined; detail?: any; }[] | undefined; }[]; issues: { message: string; type: "validation" | "processing" | "parsing"; severity: "error" | "warning"; entity?: { key: string; category: "command" | "action"; } | undefined; detail?: any; }[]; }>; export declare function formatIssues(issues: Issue[]): string;