import { Address, Hex } from 'viem';
import { Channel, ChannelId, State } from '../client/types';
import { RPCChannel, RPCChannelOperationState } from '../rpc';
export declare function getChannelId(channel: Channel, chainId: number): ChannelId;
export declare function generateChannelNonce(address?: Address): bigint;
export declare function convertRPCToClientChannel(ch: RPCChannel): Channel;
export declare function convertRPCToClientState(s: RPCChannelOperationState, sig: Hex): State;
