/** * Generic pseudo-parameter class for lexicon-provided global named references. * * AWS uses "AWS::StackName", Terraform has "path.module", Azure has * "subscription().id" — every format needs the same class that serializes * to a Ref-like structure and has the INTRINSIC_MARKER. */ import { INTRINSIC_MARKER, type Intrinsic } from "./intrinsic.js"; export declare class PseudoParameter implements Intrinsic { readonly [INTRINSIC_MARKER]: true; private refName; constructor(refName: string); toJSON(): { Ref: string; }; toString(): string; } /** * Create a namespace of pseudo-parameters from a name map. * * @example * ```ts * export const { StackName, Region } = createPseudoParameters({ * StackName: "AWS::StackName", * Region: "AWS::Region", * }); * ``` */ export declare function createPseudoParameters>(nameMap: T): { [K in keyof T]: PseudoParameter; }; //# sourceMappingURL=pseudo-parameter.d.ts.map