UNPKG

@catladder/cli

Version:

Panter cli tool for cloud CI/CD and DevOps

25 lines (24 loc) 979 B
import { BashExpression } from "../bash/BashExpression"; import type { EscapeOptions } from "../bash/bashEscape"; export declare class UnresolvableReference { reference: VariableReference; constructor(reference: VariableReference); toString(): string; } export declare class VariableReference { componentName: string; variableName: string; constructor(componentName: string, variableName: string); toString(): string; } type VariableValuePart = string | BashExpression | VariableReference | UnresolvableReference; type MaybeArray<T> = T | T[]; export declare class VariableValueContainingReferences { parts: VariableValuePart[]; constructor(parts: MaybeArray<VariableValuePart | VariableValueContainingReferences>); toString(options?: EscapeOptions): string; } export declare const createVariableValueContainingReferencesFromString: (value: string, options: { componentName: string; }) => VariableValueContainingReferences; export {};