import { type Resource } from "./resource.js"; import { Scope } from "./scope.js"; export declare class DestroyedSignal extends Error { } export interface DestroyOptions { quiet?: boolean; strategy?: "sequential" | "parallel"; } /** * Prune all resources from an Output and "down", i.e. that branches from it. */ export declare function destroy(...args: [scope: Scope, options?: DestroyOptions] | [resource: Resource | undefined | null, options?: DestroyOptions]): Promise; export declare namespace destroy { function all(resources: Resource[], options?: DestroyOptions): Promise; function sequentially(...resources: (Resource | undefined | null)[]): Promise; } //# sourceMappingURL=destroy.d.ts.map