import { IncomingMessage } from 'http'; export type Matcher = (request: IncomingMessage & { originalUrl: string; body?: string; }) => boolean; export declare const prefixMatch: (prefix: string) => Matcher; export declare const methodMatch: (method: string) => Matcher; export declare const urlMatch: (url: string) => Matcher; export declare const pathMatch: (path: string) => Matcher; export declare const headersMatch: (headers: Record) => Matcher; export declare const queryMatch: (query: Record) => Matcher; export declare const jsonBodyMatch: (json: any) => Matcher;