///
///
import BN from 'bn.js';
import type { ValidatorBonds, ValidatorBondsProgram } from './sdk';
import type { Idl, IdlEvents } from '@coral-xyz/anchor';
import type { VersionedTransactionResponse } from '@solana/web3.js';
export declare const EVENT_IX_TAG: BN;
export declare function isEventData(buffer: Buffer): boolean;
export type IdlEventKeys = keyof IdlEvents;
export type IdlEventValues = IdlEvents[keyof IdlEvents];
export type ValidatorBondsEvent = {
name: IdlEventKeys;
data: IdlEventValues;
};
export declare function parseCpiEvents(program: ValidatorBondsProgram, transactionResponse: VersionedTransactionResponse | undefined | null): ValidatorBondsEvent[];
export declare function hasAllProperties(obj: any, type: {
[K in keyof T]: any;
}): obj is T;
export declare function isEvent>(event: IdlEventValues | undefined): event is IdlEvents[E];
export declare function findEvent>(events: ValidatorBondsEvent[], eventName: E): ValidatorBondsEvent | undefined;
export declare function assertEvent>(events: ValidatorBondsEvent[], eventName: E): IdlEvents[E];
//# sourceMappingURL=cpiEvent.d.ts.map