import type { Chain } from "../types"; import type { Fetcher } from "./fetcher"; import { type GetEventsArgs, type GetEventsByCollectionArgs, type GetEventsResponse } from "./types"; /** * Events-related API operations */ export declare class EventsAPI { private fetcher; constructor(fetcher: Fetcher); /** * Gets a list of events based on query parameters. */ getEvents(args?: GetEventsArgs): Promise; /** * Gets a list of events for a specific account. */ getEventsByAccount(address: string, args?: GetEventsArgs): Promise; /** * Gets a list of events for a specific collection. Pass `args.traits` to * filter server-side; the SDK JSON-encodes the trait array for the request. */ getEventsByCollection(collectionSlug: string, args?: GetEventsByCollectionArgs): Promise; /** * Gets a list of events for a specific NFT. */ getEventsByNFT(chain: Chain, address: string, identifier: string, args?: GetEventsArgs): Promise; }