import { PageOptions } from '../types/PageList'; import { Optional } from '../types/Types'; import { Json, JsonValue } from '../types/Json'; import { OneOrMore } from '../types/Array'; import { Id } from '../types/Id'; import type { Text } from '../types/Text'; export declare class Req implements Omit { readonly path: Json; readonly query: Json; readonly body: T; readonly headers: Record>; readonly skip: Optional; readonly take: Optional; constructor(path: Json | undefined, query: Json | undefined, body: T, headers: Record>); get id(): Id; get q(): JsonValue; get: (key: Text) => any; } export declare function toReq(req: { params?: { id?: unknown; }; query?: { q?: unknown; }; body?: T; headers?: unknown; }): Req;