import type { TraceNode, LLMCall, HTTPCall, PricingConfig, ServiceConfig, ServiceCostResult, CostReport } from '#types/cost.js'; export declare function extractValue(obj: unknown, path: string): unknown; export declare function loadPricingConfig(configPath?: string): PricingConfig; export declare function findLLMCalls(node: TraceNode, parentStepName?: string | null, seenIds?: Set): LLMCall[]; export declare function findHTTPCalls(node: TraceNode, parentStepName?: string | null, seenIds?: Set): HTTPCall[]; export declare function identifyService(httpCall: HTTPCall, services: Record): { serviceName: string; config: ServiceConfig; } | null; export declare function calculateServiceCost(httpCall: HTTPCall, serviceInfo: { serviceName: string; config: ServiceConfig; }): ServiceCostResult; export declare function calculateCost(trace: TraceNode, config: PricingConfig, traceFile?: string): CostReport;