/**
 * Minimal SCALE codec helpers for Substrate extrinsic parsing.
 *
 * Includes:
 * - compact integer decoding
 * - pallet/call extraction
 * - signed participant extraction (sender/receiver/amount for transfer-like calls)
 */
export interface ExtrinsicParticipantInfo {
    isSigned: boolean;
    palletIndex: number;
    callIndex: number;
    senderAddress?: string;
    receiverAddress?: string;
    amount?: string;
}
/**
 * Decode a SCALE compact-encoded unsigned integer as bigint.
 * Returns [value, bytesConsumed] or null if buffer too short.
 */
export declare function decodeCompactBigInt(buf: Buffer, offset: number): [bigint, number] | null;
/**
 * Compatibility wrapper for existing callers that expect number values.
 * Values above Number.MAX_SAFE_INTEGER are returned as 0 while preserving bytesConsumed.
 */
export declare function decodeCompact(buf: Buffer, offset: number): [number, number] | null;
/**
 * Parse a hex-encoded Substrate extrinsic to extract pallet_index and call_index.
 * Returns null on parse failure (safe fallback to existing heuristics).
 */
export declare function parseExtrinsicCallIndices(hex: string): {
    palletIndex: number;
    callIndex: number;
} | null;
/**
 * Extract signed sender + first transfer-style destination/amount, if present.
 *
 * This parser is intentionally conservative: receiver/amount are set only when
 * the first call args decode as MultiAddress + Compact<Balance>.
 */
export declare function parseExtrinsicParticipantInfo(hex: string): ExtrinsicParticipantInfo | null;
