import type { TransactionViewerMethods } from '@xyo-network/xl1-protocol/protocol-lib';
/**
 * Only the canonical TransactionViewer method names are exposed at the RPC
 * layer. The deprecated `transactionBy*` aliases are routed via XyoViewer
 * (xyoViewer_transactionBy*), and JsonRpcTransactionViewer forwards its
 * deprecated client methods to their canonical counterparts.
 */
type LiveTransactionViewerMethods = Pick<TransactionViewerMethods, 'byHash'>;
/** TransactionViewerMethodName type. */
export type TransactionViewerMethodName = keyof LiveTransactionViewerMethods;
/** TransactionViewerRpcMethodName type. */
export type TransactionViewerRpcMethodName = `transactionViewer_${TransactionViewerMethodName}`;
/** TransactionViewerRpcMethodHandlers type. */
export type TransactionViewerRpcMethodHandlers = {
    [K in TransactionViewerMethodName as `transactionViewer_${K}`]: (params: Parameters<LiveTransactionViewerMethods[K]>) => ReturnType<LiveTransactionViewerMethods[K]>;
};
export {};
//# sourceMappingURL=TransactionViewerRpc.d.ts.map