import { type Env as HonoEnv, type Context, type MiddlewareHandler } from 'hono'; import { type Publisher } from '@fanoutio/grip'; import type { IResponseGrip } from '../IResponseGrip.js'; import type { IRequestGrip } from '../IRequestGrip.js'; import type { IServeGripConfig } from '../IServeGripConfig.js'; export type GripContext = IRequestGrip & IResponseGrip & { getPublisher: () => Publisher; }; export type Variables = { grip: GripContext; }; export type Env = { Variables: Variables; }; export type ServeGripParams = (Promise | IServeGripConfig) | ((c: Context) => (Promise | IServeGripConfig)); export declare function serveGrip(config: ServeGripParams): MiddlewareHandler; //# sourceMappingURL=ServeGrip.d.ts.map