@boundless-oss/atlas
Version:
Atlas - MCP Server for comprehensive startup project management
28 lines • 900 B
TypeScript
export declare class VariableResolver {
/**
* Resolve variables in an object by replacing ${variable} patterns
* with actual values from the context
*/
resolveVariables(obj: any, context: Record<string, any>): Promise<any>;
/**
* Resolve variables in a string
*/
private resolveString;
/**
* Get a value from an object using a dot-notation path
*/
private getValueByPath;
/**
* Evaluate a condition expression
*/
evaluateCondition(condition: string, context: Record<string, any>): Promise<boolean>;
/**
* Parse a value that might be a literal or a variable reference
*/
private parseValue;
/**
* Evaluate a complex expression (for future enhancement)
*/
evaluateExpression(expression: string, context: Record<string, any>): Promise<any>;
}
//# sourceMappingURL=variable-resolver.d.ts.map