import type { ApiMethodNames } from "./event.methods"; import type { AuthToken } from "./token"; import type { NetRequestFactory } from "@seayoo-web/request"; export type ApiMethod = (this: EventApi, ...args: any[]) => any; export type { ApiMethodNames } from "./event.methods"; export declare class EventApi { token: AuthToken; req: ReturnType; private _event; get event(): number; constructor(authToken: AuthToken, eventId: number | string); /** * 绑定指定的方法到当前实例上 */ bind(methods: T): this & T; }