import { Request as Request$1 } from 'express'; import { FastifyRequest } from 'fastify'; declare type BaseRequest = FastifyRequest | Request$1; interface RequestExtensions { state: Record & { setCacheLifetime?: (lifetime: number, useExpiresHeader: boolean) => void; tokenPayload?: Record; }; } declare type Request = BaseRequest & RequestExtensions; export { Request };