import { Construct, IConstruct } from "constructs"; import { TerraformStack } from "./terraform-stack"; export interface IResource extends IConstruct { /** * The stack in which this resource is defined. */ readonly stack: TerraformStack; } export interface IResourceConstructor { new (scope: Construct, id: string, ...args: any[]): IResource; } /** * A construct which represents a resource. * @deprecated - Please use Construct from the constructs package instead. */ export declare abstract class Resource extends Construct implements IResource { readonly stack: TerraformStack; constructor(scope: Construct, id: string); }