import type { ConfigError } from "effect/Config"; import * as Effect from "effect/Effect"; import type * as Scope from "effect/Scope"; import { AlchemyContext } from "./AlchemyContext.ts"; import * as Apply from "./Apply.ts"; import type { Input } from "./Input.ts"; import * as Plan from "./Plan.ts"; import type { ResourceSelection, SelectionOutput } from "./ResourceSelection.ts"; import type { CompiledStack, StackEffect } from "./Stack.ts"; import { Stage } from "./Stage.ts"; export interface DeployOptions extends Plan.MakePlanOptions { stack: StackEffect, ConfigError, Stage | AlchemyContext>; stage: string; dev?: boolean; /** See {@link evalStack} — when set, scoped resources outlive `deploy`. */ scope?: Scope.Scope; } export type DeployResult = Effect.Effect, Effect.Error>>, Effect.Services>>>; export interface FilteredDeployOptions extends Omit, keyof ResourceSelection>, ResourceSelection { } /** * Reconcile a stack. Filters select nodes and their transitive dependencies, * not declaration evaluation: the whole stack program still runs. Filtered * deployments return void and leave persisted full-stack outputs unchanged. */ export declare function deploy = DeployOptions>(options: FilteredDeployOptions & Options): DeployResult>; /** * Apply `plan`, drawing its progress through the ambient `Cli` when there * is one. The engine only emits events; this is where they are rendered. */ export declare const applyAndRender:

(plan: P) => Effect.Effect, import("./Auth/AuthProvider.ts").AuthError | ConfigError | import("./Auth/Demand.ts").CredentialsRequired | Apply.DestroyError | import("./Output.ts").InvalidReferenceError | import("./Output.ts").MissingSourceError | import("./Auth/AuthProvider.ts").NeedsReauth | import("effect/PlatformError").PlatformError | import("./State/State.ts").StateStoreError, import("./Stack.ts").Stack | Stage | import("./State/State.ts").State>; declare const deployStack: ({ stack, stage, dev, scope, force, include, exclude, }: FilteredDeployOptions) => Effect.Effect | undefined, import("./Auth/AuthProvider.ts").AuthError | ConfigError | import("./Auth/Demand.ts").CredentialsRequired | Apply.DestroyError | import("./Output.ts").InvalidReferenceError | import("./Output.ts").MissingSourceError | import("./Auth/AuthProvider.ts").NeedsReauth | import("effect/PlatformError").PlatformError | import("./State/State.ts").StateStoreError, import("./Artifacts.ts").ArtifactStore | import("./index.ts").AuthProviders | import("./Interaction.ts").Interaction | import("./State/State.ts").State>; export {}; //# sourceMappingURL=Deploy.d.ts.map