import { O as OpenRouterClient } from '../index-DMpnd7bA.js'; import { C as CostSummary } from '../pricing-BUJAtUlg.js'; import { a as Model } from '../ModelCatalog-BcfW6bZr.js'; import '../api-DL1ztBmF.js'; import 'eventemitter3'; import '../routing-C4EW-wyV.js'; import '../ModelSelector-DRt9Wz6J.js'; import '../logger-DUq4P1BF.js'; import '../CostTracker-_TwTsEdz.js'; declare class FastifyAdapter { private client; constructor(client: OpenRouterClient); /** * Chat completion route handler */ chatHandler(request: any, reply: any): Promise; /** * Stream chat completion route handler */ streamHandler(request: any, reply: any): Promise; /** * List models route handler */ modelsHandler(): { success: boolean; data: Model[]; count: number; }; /** * Cost summary route handler */ costsHandler(request: any): { success: boolean; data: CostSummary; }; /** * Register Fastify plugin */ plugin(fastify: any, _options: any): void; } /** * Factory function for Fastify integration */ declare function createFastifyAdapter(client: OpenRouterClient): FastifyAdapter; /** * Create Fastify plugin directly */ declare function createFastifyPlugin(client: OpenRouterClient): (fastify: any, _options: any) => void; export { FastifyAdapter, createFastifyAdapter, createFastifyPlugin };