import { type Web3SignedSignFn } from "../auth/web3-signed-builder.js"; /** * Compute the legacy bodyHash shape currently accepted by Session Relay. * * @remarks * Personal Server Web3Signed requests use `sha256:`, including a canonical * empty-body hash. Session Relay's current signed init endpoint verifies a * legacy body hash: bare SHA-256 hex for non-empty JSON bodies and `""` for * empty bodies. Keep this compatibility local to the Relay integration. */ export declare function computeSessionRelayBodyHash(body: string | undefined): string; /** Build a Web3Signed header compatible with Session Relay's signed endpoints. */ export declare function buildSessionRelayWeb3SignedHeader(params: { signMessage: Web3SignedSignFn; aud: string; method: string; uri: string; body?: string; iat?: number; exp?: number; }): Promise;