import { Json, JsonValue } from "../types/Json.js"; import { Id } from "../types/Id.js"; import { OneOrMore } from "../types/Array.js"; import { Optional } from "../types/Types.js"; import { PageOptions } from "../types/PageList.js"; import { Text } from "../types/Text.js"; //#region src/resources/Req.d.ts 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; //#endregion //# sourceMappingURL=Req.d.ts.map