import { verifyDispatchJws } from "../../../channels/invoke.js"; import type { ResponseBuilder } from "../../../security/index.js"; import type { HandlerContext } from "../../../types/index.js"; type ParseSchema = { parse(value: unknown): T; }; type LogWarn = (message: string, extra?: Record) => void; export type SignedChannelDispatchRequest = { ok: true; claims: Awaited>; payload: T; rawBody: string; } | { ok: false; response: Response; }; export interface ReadSignedChannelDispatchRequestOptions { builder: ResponseBuilder; endpointName: string; invalidRequestError: string; logLabel?: string; logWarn: LogWarn; schema: ParseSchema; } export declare function readSignedChannelDispatchRequest(req: Request, ctx: HandlerContext, options: ReadSignedChannelDispatchRequestOptions): Promise>; export {}; //# sourceMappingURL=channel-dispatch-request.d.ts.map