import type { FastifyInstance } from 'fastify';
/**
 * Parse tokenUsage JSON string on a session object (or nested sessions).
 * Mutates in-place for convenience; returns the same reference.
 */
export declare function parseSessionTokenUsage<T extends {
    tokenUsage?: string | null;
}>(session: T): T & {
    tokenUsage?: Record<string, unknown> | null;
};
export declare function sessionRoutes(app: FastifyInstance): Promise<void>;
//# sourceMappingURL=sessions.d.ts.map