import * as Effect from "effect/Effect"; import * as Option from "effect/Option"; import { Command } from "effect/unstable/cli"; import { AppError } from "../../app-error/index.js"; import { ResolvePlanInteraction } from "@agentxm/workspace/transitions/planning"; import { selectableTypes, type OnExistingPolicy } from "@agentxm/workspace/publishing"; import type { ExtensionVisibility } from "@agentxm/extension-model/unstable/extensions"; import { type WorkspaceScope } from "@agentxm/extension-model/unstable/workspace-scope"; /** The CLI-supplied inputs a publish invocation carries beyond the request. */ export interface RootPublishHandlerArgs { readonly selectors: ReadonlyArray; readonly owners: ReadonlyArray; readonly types: ReadonlyArray<(typeof selectableTypes)[number]>; readonly excludes: ReadonlyArray; readonly registry: Option.Option; readonly registryUrl: Option.Option; readonly onExisting: Option.Option; readonly backfill: boolean; readonly acceptWarnings: boolean; readonly preview: boolean; readonly scope: WorkspaceScope; readonly visibility: Option.Option; readonly includeDependencies: boolean; readonly recoveryCommand?: ReadonlyArray; readonly recoverySelectors?: ReadonlyArray; readonly recoveryExcludes?: ReadonlyArray; } /** * The exact command that continues an unsettled publish. Recovery-command * rendering is an application concern: it spells this CLI's flags. */ export declare const makeExactPublishRecovery: (args: Pick, candidateFqns: ReadonlyArray) => import("@agentxm/workspace/transitions/planning").ConfirmationRecovery; export declare const handleRootPublish: (args: RootPublishHandlerArgs) => Effect.Effect; export declare const publishCommand: Command.Command<"publish", { readonly selectors: readonly string[]; readonly owner: readonly string[]; readonly type: readonly import("@agentxm/workspace/publishing").PublishableType[]; readonly exclude: readonly string[]; readonly registry: Option.Option; readonly registryUrl: Option.Option; readonly onExisting: Option.Option<"error" | "verify">; readonly backfill: boolean; readonly acceptWarnings: boolean; readonly visibility: Option.Option<"public" | "private">; readonly preview: boolean; readonly includeDependencies: boolean; }, {}, AppError, import("effect/FileSystem").FileSystem | import("effect/Path").Path | "effect/unstable/cli/GlobalFlag/axm-non-interactive" | "effect/unstable/cli/GlobalFlag/axm-json" | "effect/unstable/cli/GlobalFlag/axm-quiet" | "effect/unstable/cli/GlobalFlag/axm-verbose" | "effect/unstable/cli/GlobalFlag/axm-debug" | import("@agentxm/registry-access/authentication").DeviceLoginInteraction | "effect/unstable/cli/GlobalFlag/axm-directory">; //# sourceMappingURL=command.d.ts.map