import { Variables, HttpResponse } from '../types'; /** * Stored response data for named requests */ export interface StoredResponse { status: number; statusText?: string; headers: Record; body: unknown; } export declare class VariableManager { private variables; private namedResponses; setVariables(variables: Variables): void; replaceVariables(content: string): string; setVariable(key: string, value: string | number | boolean): void; getVariable(key: string): string | number | boolean | undefined; getAllVariables(): Variables; /** * Store response for a named request */ storeNamedResponse(requestId: string, response: HttpResponse): void; /** * Get stored response for a named request */ getNamedResponse(requestId: string): StoredResponse | undefined; /** * Process named request reference syntax: * - {{requestName.response.body}} - entire body * - {{requestName.response.body.field}} - specific field * - {{requestName.response.body.$.jsonpath}} - JSONPath expression * - {{requestName.response.headers.Content-Type}} - specific header * - {{requestName.response.status}} - status code */ private processNamedRequestReferences; /** * Extract value from stored response using path */ private extractFromResponse; /** * Get nested value from object using dot notation */ private getNestedValue; /** * Clear all named responses (useful for test isolation) */ clearNamedResponses(): void; }