import { TronWeb } from '../tronweb.js';
import { NodeProvider } from '../types/TronWeb.js';
import type { GetEventResultOptions, EventResponse } from '../types/Event.js';
export declare class Event {
    private tronWeb;
    constructor(tronWeb: TronWeb);
    setServer(eventServer: NodeProvider, healthcheck?: string): undefined;
    getEventsByContractAddress(contractAddress: string, options?: GetEventResultOptions): Promise<EventResponse>;
    getEventsByTransactionID(transactionID: string, options?: {
        only_unconfirmed?: boolean;
        only_confirmed?: boolean;
    }): Promise<EventResponse>;
    getEventsByBlockNumber(blockNumber: number | string, options?: {
        only_confirmed?: boolean;
        limit?: number;
        fingerprint?: string;
    }): Promise<EventResponse>;
    getEventsOfLatestBlock(options?: {
        only_confirmed?: boolean;
    }): Promise<EventResponse>;
}
