/**
 * calculate-greeks.ts — MCP tool handler for `calculate_greeks`.
 *
 * Fetches current underlying prices, computes time-to-expiry in years,
 * selects the correct pricing model (Black-Scholes for European, binomial
 * tree for American), resolves implied volatility via Newton-Raphson when
 * not supplied, then computes all Greeks (delta, gamma, theta, vega, rho).
 * Aggregates portfolio-level Greeks across all positions.
 *
 * PAID tier only. Free users receive a TierError before this handler runs,
 * but we also guard at the top of the function as defense-in-depth.
 */
import type { CalculateGreeksInput } from "../schemas/calculate-greeks.js";
import type { AuthContext } from "../middleware/auth.js";
export interface Env {
    PRICE_CACHE: KVNamespace;
    USER_STATE: DurableObjectNamespace;
}
export interface ToolResult {
    content: [{
        type: "text";
        text: string;
    }];
    isError?: boolean;
}
/**
 * Handle a `calculate_greeks` tool call.
 *
 * @param input       Validated input from the Zod schema
 * @param env         Cloudflare Worker environment bindings
 * @param authContext Resolved user auth context
 */
export declare function handleCalculateGreeks(input: CalculateGreeksInput, env: Env, authContext: AuthContext): Promise<ToolResult>;
//# sourceMappingURL=calculate-greeks.d.ts.map