import { _RequestMiddleware, H3Event, Router } from 'h3';
import { F as Factory } from '../../core-Bd2ynlyb.js';
import { H as HttpCtx, a as HttpOptions } from '../../types-B4zY7i87.js';
import 'phecda-core';
import '../../meta-ZbvaS7xK.js';
import 'node:http';

interface H3Ctx extends HttpCtx {
    type: 'h3';
    event: H3Event;
    app: Router;
}
type Addon = _RequestMiddleware;
declare function bind(router: Router, data: Awaited<ReturnType<typeof Factory>>, opts?: HttpOptions): void;

export { type Addon, type H3Ctx, bind };
