type ChannelSubscription = { acceptCards: boolean; acceptWalletPay: boolean; activeSubscribers: number; appInviteLink: string; buttonText: string; channelId: number; commentAccessEnabled: boolean; createdAt: number; currency: 'rub' | 'eur'; deletedPeriods: null; description: string; id: number; image: null; isDeleted: boolean; isDonate: boolean; migrated: boolean; name: string; }; type Subscription = ChannelSubscription & { webLink: string; }; type CommenAccessSubscription = ChannelSubscription & { periods: null; privateChannelInviteLink: string; publicChannelInviteLink: string; userId: number; webLink: string; }; type Channel = { activeSubscribers: number; chatId: number; commentSubscriptionId: number; commentsAccessSubscription: CommenAccessSubscription; connected: boolean; createdAt: number; id: number; isDeleted: boolean; isDonationRequested: boolean; isGroup: boolean; isOnboardingPassed: boolean; language: { code: string; englishName: string; name: string; }; migrated: boolean; name: string; onboardingStep: string; photoUrl: string; type: 'private' | 'public'; userId: number; }; type Transaction = { amount: number; channel: { chatId: number; id: number; isDeleted: boolean; isGroup: boolean; name: string; photoUrl: string; userName: string; }; channelId: number; createdAt: number; currency: 'rub' | 'eur'; donationRequestId: number; energy: number; id: number; objectId: number; otherUserId: number; paymentMethod: 'smart_glocal'; serviceFee: number; subscription: { id: number; channelId: number; name: string; description: ' '; period: string; currency: 'rub' | 'eur'; periods: null; inviteLink: string; appInviteLink: string; isDonate: boolean; isDeleted: boolean; acceptCards: boolean; acceptWalletPay: boolean; userID: number; commentAccessEnabled: boolean; image: null; }; subscriptionMember: { id: number; userId: number; subscriptionId: number; subscriptionPeriodId: number; subscriptionPeriod: string; price: number; period: 'monthly' | 'yearly'; currency: 'rub' | 'eur'; activatedAt: number; expiresAt: number; status: 'active'; paymentMethod: 'smart_glocal'; isDonate: boolean; isDeleted: boolean; isExpired: boolean; migrated: boolean; firstPeriodDiscountPercent: number; cancellationDiscountPercent: number; activePeriod: { id: number; period: string; amount: number; firstTimeDiscountEnabled: boolean; firstTimeDiscountPercent: number; cancellationDiscountEnabled: boolean; cancellationDiscountPercent: number; expiresAt: number; }; }; subscriptionPeriod: { id: number; period: 'monthly' | 'yearly'; amount: number; firstTimeDiscountEnabled: boolean; firstTimeDiscountPercent: number; cancellationDiscountEnabled: boolean; cancellationDiscountPercent: number; active: boolean; }; total: number; type: 'sell_subscription_with_period'; user: { id: number; firstName: string; lastName: string; userName: string; sex: number; photoUrl: string; telegramId: number; }; }; type ChannelResponse = { channel: Channel; hasCompletedOnboarding: boolean; isWhitelist: boolean; subscriptions: ChannelSubscription[]; subscriptionsNextFrom: string; transactions: Transaction[]; transactionsNextFrom: string; verificationStatus: 'approved' | string; }; type Goal = { id: number; name: string; description: string; image: { id: number; path: string; thumbnail: string; width: number; height: number; backId: number; }; link: string; isDeleted: boolean; }; type Dashboard = { acceptCards: boolean; acceptWalletPay: boolean; availableManagers: boolean; availablePhysicalProducts: boolean; availableReferralOffers: boolean; availableToCreateShowcaseWithoutItems: boolean; balances: [ { amount: number; currency: 'eur'; }, { amount: number; currency: 'rub'; }, { amount: number; currency: 'ton'; }, { amount: number; currency: 'usdt'; } ]; channels: Channel[]; costCalc: boolean; donationCount: number; energy: number; goals: Goal[]; migrationAvailable: boolean; mode: 'creator'; orders: null; products: unknown[]; termsAccepted: boolean; transactions: unknown[]; transactionsNextFrom: string; verificationStatus: 'approved' | string; withdrawalAccount: { id: number; createdAt: number; country: string; countryIso2: string; methodType: 'bank_card'; currency: string; taxReference: string; objectId: number; userId: number; isFiatToCrypto: boolean; params: {}; }; }; type Member = { activatedAt: number; activePeriod: { id: number; period: string; amount: number; firstTimeDiscountEnabled: boolean; firstTimeDiscountPercent: number; cancellationDiscountEnabled: boolean; cancellationDiscountPercent: number; expiresAt: number; }; cancellationDiscountPercent: number; currency: 'rub' | 'eur'; expiresAt: number; firstPeriodDiscountPercent: number; id: number; isDeleted: boolean; isDonate: boolean; isExpired: boolean; migrated: boolean; paymentMethod: 'smart_glocal'; period: 'monthly'; price: number; status: 'active'; subscriptionId: number; subscriptionPeriod: string; subscriptionPeriodId: number; userId: number; }; type User = { firstName: string; id: number; lastName: string; photoUrl: string; sex: number; telegramId: number; userName: string; }; type SubscriptionResponse = { channel: Channel; isWhitelist: boolean; membersGrouped: { active: { members: Member[]; total: number; }; all: { members: Member[]; total: number; }; expired: { members: Member[]; total: number; }; expiring: { members: Member[]; total: number; }; }; membersGroupedNextFrom: {}; membersNextFrom: string; subscription: Subscription; users: User[]; verificationStatus: 'approved' | string; }; declare class Tribute { private token; private baseUrl; private version; constructor(token: string); private request; getDashboard(): Promise; getChannel(id: number): Promise; getSubscription(id: number): Promise; } export { Tribute };