import { OutputWriteFailed, Screen } from "../../screen/index.js"; import * as Effect from "effect/Effect"; import * as Path from "effect/Path"; import * as Option from "effect/Option"; import { Command } from "effect/cli"; import { AppError } from "../../app-error/index.js"; import { ResolvePlanInteraction } from "@agentxm/workspace-kernel/operations"; import { selectableTypes } from "@agentxm/workspace-features/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 from?: string; readonly packageVersion?: string; readonly selectors: ReadonlyArray; readonly owners: ReadonlyArray; readonly types: ReadonlyArray<(typeof selectableTypes)[number]>; readonly excludes: ReadonlyArray; readonly registry: Option.Option; readonly registryUrl: 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-kernel/operations").ConfirmationRecovery; export declare const handleRootPublish: (args: RootPublishHandlerArgs) => Effect.Effect; export declare const publishCommand: Command.Command<"publish", { readonly from: Option.Option; readonly packageVersion: Option.Option; readonly selectors: readonly string[]; readonly owner: readonly string[]; readonly type: readonly import("@agentxm/workspace-features/publishing").PublishableType[]; readonly exclude: readonly string[]; readonly registry: Option.Option; readonly registryUrl: Option.Option; readonly backfill: boolean; readonly acceptWarnings: boolean; readonly visibility: Option.Option<"private" | "public">; readonly preview: boolean; readonly includeDependencies: boolean; }, {}, AppError | OutputWriteFailed, import("effect/FileSystem").FileSystem | Path.Path | "effect/cli/GlobalFlag/axm-non-interactive" | "effect/cli/GlobalFlag/axm-json" | "effect/cli/GlobalFlag/axm-quiet" | "effect/cli/GlobalFlag/axm-verbose" | "effect/cli/GlobalFlag/axm-debug" | import("../../telemetry/client.ts").TelemetryClient | import("@agentxm/registry-access/authentication").DeviceLoginInteraction | "effect/cli/GlobalFlag/axm-directory">; //# sourceMappingURL=command.d.ts.map