declare function buildRequestCacheKey(fallbackPath: string, request?: Request): string; declare function getQueryParams(request?: Request): URLSearchParams; declare function parseOptionalPositiveIntQueryParam(params: URLSearchParams, name: string): number | undefined; declare function parseOptionalBooleanQueryParam(params: URLSearchParams, name: string): boolean | undefined; declare function parseOptionalEnumQueryParam(params: URLSearchParams, name: string, allowedValues: readonly TValue[]): TValue | undefined; declare function expectObject(value: unknown, label?: string): Record; declare function parseJsonBody(request: Request, validator: (payload: unknown) => TValue): Promise; declare function readRequiredString(payload: Record, field: string, options?: { minLength?: number; maxLength?: number; pattern?: RegExp; }): string; declare function readOptionalString(payload: Record, field: string, options?: { minLength?: number; maxLength?: number; pattern?: RegExp; }): string | undefined; declare function readRequiredEnum(payload: Record, field: string, allowedValues: readonly TValue[]): TValue; declare function readOptionalEnum(payload: Record, field: string, allowedValues: readonly TValue[]): TValue | undefined; declare function readRequiredPositiveInt(payload: Record, field: string): number; declare function readOptionalPositiveInt(payload: Record, field: string): number | undefined; declare function parsePositiveIntParam(value: string, name?: string): number; export { buildRequestCacheKey, expectObject, getQueryParams, parseJsonBody, parseOptionalBooleanQueryParam, parseOptionalEnumQueryParam, parseOptionalPositiveIntQueryParam, parsePositiveIntParam, readOptionalEnum, readOptionalPositiveInt, readOptionalString, readRequiredEnum, readRequiredPositiveInt, readRequiredString, };