import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-CZTAcNtS.cjs"; //#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.6/node_modules/@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.d.ts /** * @generated from protobuf message injective_tc_abacus_rpc.CreateReferrerCodeResponse */ interface CreateReferrerCodeResponse {} /** * @generated MessageType for protobuf message injective_tc_abacus_rpc.CreateReferrerCodeResponse */ declare const CreateReferrerCodeResponse = new CreateReferrerCodeResponse$Type(); //#endregion //#region src/client/tcAbacus/grpc/TcAbacusGrpcApi.d.ts declare class TcAbacusGrpcApi extends BaseGrpcConsumer { protected module: string; private get client(); fetchCurrentEpoch(): Promise; fetchHealthCheck(): Promise; fetchAccountPoints(address: string, cursor?: string, limit?: number): Promise; fetchAccountStats(address: string): Promise; fetchReferrers(params?: { cursor?: string; limit?: number; address?: string; code?: string; status?: string; }): Promise; fetchAccountInvitees(address: string, cursor?: string, limit?: number): Promise; fetchReferrerEligibility(address: string): Promise; createReferrerCode(address: string, code: string): Promise; fetchReferrerCodes(address: string, cursor?: string, limit?: number): Promise; fetchInviteeReferrer(address: string): Promise; } //#endregion //#region src/client/tcAbacus/types/tcAbacus.d.ts interface CurrentEpochResponse { epochEnd: string; epochPoints: string; epochPointsDistributedAt: string; } interface HealthCheckResponse { uptime: string; uptimeSeconds: number; } interface SnapshotPoints { rank: string; points: string; endTime: string; startTime: string; snapshotId: string; } interface AccountPointsResponse { rank: string; address: string; updatedAt: string; totalPoints: string; nextCursor?: string; totalReferralPoints: string; snapshots: SnapshotPoints[]; } interface AccountStatsResponse { cap: number; code: string; address: string; isKol: boolean; last7DVolume: string; inviteeCount: number; allTimeVolume: string; creatorAddress: string; activeInviteeCount: number; } interface Referrer { cap: number; code: string; height: string; address: string; createdAt: string; isKol: boolean; status: string; inviteeCount: number; creatorAddress: string; } interface ListReferrersResponse { nextCursor?: string; referrers: Referrer[]; } interface ReferrerInvitee { height: string; address: string; createdAt: string; allTimeVolume: string; referralPoints: string; } interface AccountInviteesResponse { address: string; nextCursor?: string; invitees: ReferrerInvitee[]; } interface ReferrerEligibilityResponse { volume: string; isEligible: boolean; volumeThreshold: string; } interface ReferrerCode { code: string; cap?: number; createdAt: string; invitees: string[]; } interface ListReferrerCodesResponse { nextCursor?: string; codes: ReferrerCode[]; } interface InviteeReferrer { code: string; height: string; address: string; createdAt: string; referrerAddress: string; } //#endregion export { HealthCheckResponse as a, ListReferrersResponse as c, ReferrerEligibilityResponse as d, ReferrerInvitee as f, CurrentEpochResponse as i, Referrer as l, TcAbacusGrpcApi as m, AccountPointsResponse as n, InviteeReferrer as o, SnapshotPoints as p, AccountStatsResponse as r, ListReferrerCodesResponse as s, AccountInviteesResponse as t, ReferrerCode as u };