import type { ActionType } from "@garden-io/grow-sdk/declarations/action-type"; import type { GrowError } from "@garden-io/grow-sdk/errors"; import type { BaseAction } from "../actions/base"; import type { GrowContext } from "../context"; import type { ConfigGraph } from "../graph/config-graph"; import type { SolveResultExport } from "../graph/results"; import type { SolveResult } from "../graph/solver"; import type { Log } from "../logger/log-entry"; import type { BaseTask } from "../tasks/base"; export declare function runActions({ context, log, graph, actions, force, throwOnError, }: { context: GrowContext; log: Log; graph: ConfigGraph; actions: BaseAction[]; force: boolean; throwOnError?: boolean; }): Promise>>>; export declare function resolveActions({ context, log, graph, actions, }: { context: GrowContext; log: Log; graph: ConfigGraph; actions: BaseAction[]; }): Promise>>; export declare function solveTasks({ context, log, tasks, throwOnError, }: { context: GrowContext; log: Log; tasks: TaskType[]; throwOnError?: boolean; }): Promise>; /** * Returns a simplified rendering of `solveRes` that's suitable for JSON output. */ export declare function exportSolveResult(solveRes: SolveResult): SolveExport; export type SolveExport = { result: SolveResultExport; errors: GrowError[]; exitCode: number; }; export declare const testGlobalOpts: { root: string; silent: boolean; "logger-type": string; "log-level": string; output: string; emoji: boolean; "show-timestamps": boolean; yes: boolean; input: never[]; version: boolean; help: boolean; };