import { Address, Hex } from "viem"; export declare function encodeRequestId(id: bigint): string; export declare function decodeRequestIdString(idString: string): bigint; export declare function generateRequestId(): bigint; /** * Handle rich request metadata parsing. * In the future, we may consider a much stronger form of hashing here, * potentially EIP-712 compliant ones. */ export type DaimoRichRequestV2 = { /** Version number of rich request metadata format */ v: number; /** Proposed fulfiller - user to whom request is sent */ fulfiller: Address | null; }; export declare function createRequestMetadata(reqMeta?: DaimoRichRequestV2): Hex; export declare function parseRequestMetadata(metadata: Hex): DaimoRichRequestV2;