/** * @file Command.Types.ts * @author Gage Sorrell * @copyright (c) 2026 Gage Sorrell * @license MIT */ import type { And, InvalidData, MissingData, Or, SourceUnavailable, Unsupported } from "effect/ConfigError"; import type { CliApp, Command } from "@effect/cli"; import type { CommandExecutor, FileSystem } from "@effect/platform"; import type { Effect } from "effect"; import type { FGlobalConfig } from "../Config/Config.Types.js"; import type { FStepService } from "../Effect/Effect.js"; import type { NodeContext } from "@effect/platform-node"; import type { Simplify } from "effect/Types"; import type { TEffectError } from "./Command.Internal.Types.js"; import type { ValidationError } from "@effect/cli/ValidationError"; export type TSubCommandFunction = (Arguments: ReadonlyArray) => TSubCommandEffect; export type TSubCommandEffect = Effect.Effect; export type TCommandHandler = (Options: Simplify; }>>) => TSubCommandEffect; export type TCommand = Command.Command | CliApp.CliApp.Environment | NodeContext.NodeContext, TEffectError, Simplify; }>>>; //# sourceMappingURL=Command.Types.d.ts.map