import type { Context } from "hono"; export type JsonObject = Record; export declare const badRequest: (c: Context, message: string) => Response & import("hono").TypedResponse<{ error: string; }, 400, "json">; export declare const asString: (value: unknown) => string | undefined; export declare const asNonEmptyString: (value: unknown) => string | undefined; export declare const asOptionalString: (value: unknown) => string | undefined; export declare function readJsonObject(c: Context): Promise; export declare function safeParse(json: string): T | null; export declare const parseLastEventId: (value: string | undefined) => number | undefined;