/**
 * sector-exposure.ts — Tool handler for the `sector_exposure` MCP tool.
 *
 * Breaks down portfolio exposure by GICS sector and market cap tier:
 *   1. Fetches current prices to establish position values
 *   2. Maps each ticker to its GICS sector (sector-map.ts first, then
 *      Alpha Vantage OVERVIEW for any unknowns)
 *   3. Maps each ticker to a market cap tier using Alpha Vantage OVERVIEW
 *      (mega/large/mid/small/micro), falling back to "unknown" if unavailable
 *   4. Computes weights, dollar values, and HHI concentration index
 *   5. Returns SectorExposureResult with summary
 *
 * This tool is FREE tier — no tier gating beyond position count (handled upstream).
 * Auth and tier gating are handled upstream — this handler receives
 * pre-validated input and an already-resolved AuthContext.
 */
import type { SectorExposureInput } from "../schemas/sector-exposure.js";
import type { AuthContext } from "../middleware/auth.js";
export interface SectorExposureEnv {
    PRICE_CACHE: KVNamespace;
}
export interface ToolResult {
    content: [{
        type: "text";
        text: string;
    }];
    isError?: boolean;
}
export declare function handleSectorExposure(input: SectorExposureInput, env: SectorExposureEnv, _authContext: AuthContext): Promise<ToolResult>;
//# sourceMappingURL=sector-exposure.d.ts.map