import type { SignAuthorizationReturnType } from 'viem/accounts'; import type { SerializedAuthorization } from '../types'; /** * Converts a viem `SignAuthorizationReturnType` into a plain serializable * object suitable for JSON transport to the sponsorship API. * * viem's `Signature` type allows legacy v-only signatures without `yParity`, * but our signing flow always produces one — explicitly check for `undefined` * (not falsiness) so the valid `yParity: 0` recovery bit isn't rejected. */ export declare const toSerializedAuthorization: (auth: SignAuthorizationReturnType) => SerializedAuthorization;