import type { Api } from "@cargo-ai/api"; import type { StateBackend } from "./backend/index.js"; export type DestroyResult = { removed: string[]; released: string[]; }; /** * Remove the given state ids in dependency-safe order (dependents first), * releasing adopted resources instead of deleting them, and persisting state * after each. Shared by `destroy` (tear down all) and deploy's `--prune` (remove * resources dropped from code). */ export declare function removeResources(root: string, api: Api, ids: string[], backend?: StateBackend): Promise; /** * Tear down state-tracked resources. With `target`, removes just that id; * otherwise removes everything in state. */ export declare function destroy(root: string, api: Api, opts?: { target?: string; }, backend?: StateBackend): Promise; //# sourceMappingURL=destroy.d.ts.map