import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Cet1W6Kq.cjs"; //#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.8/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 from protobuf message injective_tc_abacus_rpc.SetReferrerCategoryResponse */ interface SetReferrerCategoryResponse {} /** * @generated MessageType for protobuf message injective_tc_abacus_rpc.CreateReferrerCodeResponse */ declare const CreateReferrerCodeResponse = new CreateReferrerCodeResponse$Type(); /** * @generated MessageType for protobuf message injective_tc_abacus_rpc.SetReferrerCategoryResponse */ declare const SetReferrerCategoryResponse = new SetReferrerCategoryResponse$Type(); //#endregion //#region src/client/tcAbacus/types/tcAbacus.d.ts type ReferrerCategory = 'default' | 'kol1' | 'kol2'; type ReferrerCategoryResponse = ReferrerCategory | (string & {}); 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; category?: ReferrerCategoryResponse; 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; category?: ReferrerCategoryResponse; 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 //#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, params?: { signature?: string; expiresAt?: number; evmChainId?: number; }): Promise; setReferrerCategory(address: string, category: ReferrerCategory): Promise; fetchReferrerCodes(address: string, cursor?: string, limit?: number): Promise; fetchInviteeReferrer(address: string): Promise; } //#endregion export { CurrentEpochResponse as a, ListReferrerCodesResponse as c, ReferrerCategory as d, ReferrerCategoryResponse as f, SnapshotPoints as g, ReferrerInvitee as h, AccountStatsResponse as i, ListReferrersResponse as l, ReferrerEligibilityResponse as m, AccountInviteesResponse as n, HealthCheckResponse as o, ReferrerCode as p, AccountPointsResponse as r, InviteeReferrer as s, TcAbacusGrpcApi as t, Referrer as u };