import type { PendingResource, ResourceID } from "./resource.js"; import type { StateStore, StateStoreType } from "./state.js"; export type ScopeOptions = { appName?: string; stage?: string; parent?: Scope; scopeName?: string; password?: string; stateStore?: StateStoreType; quiet?: boolean; }; export declare class Scope { static get(): Scope | undefined; static get current(): Scope; readonly resources: Map; readonly appName: string | undefined; readonly stage: string; readonly scopeName: string | null; readonly parent: Scope | undefined; readonly password: string | undefined; readonly state: StateStore; readonly quiet: boolean; private isErrored; constructor(options: ScopeOptions); delete(resourceID: ResourceID): Promise; private _seq; seq(): number; get chain(): string[]; fail(): void; enter(): void; init(): Promise; deinit(): Promise; fqn(resourceID: ResourceID): string; run(fn: (scope: Scope) => Promise): Promise; [Symbol.asyncDispose](): Promise; finalize(): Promise; /** * Returns a string representation of the scope. */ toString(): string; } //# sourceMappingURL=scope.d.ts.map