import type { RDAPClient } from '../application/client'; export interface RouterLike { get(path: string, handler: RouteHandler): this; } export interface RequestLike { params: Record; } export interface ResponseLike { status(code: number): this; json(body: unknown): this; } type RouteHandler = (req: RequestLike, res: ResponseLike) => void | Promise; interface RouteEntry { path: string; handler: RouteHandler; } export declare class MinimalRouter implements RouterLike { readonly routes: RouteEntry[]; get(path: string, handler: RouteHandler): this; } export declare function rdapifyExpress(client: RDAPClient, router?: R): R | MinimalRouter; export {}; //# sourceMappingURL=express.d.ts.map