import { NetworkTypes, Pages, TransactionTypes, Themes, NavDirections, NavMinimizationTogglerPositions, ScanTypes, SuiNetworks } from '../../utils/enums'; import { PassportEvents } from '../../utils/lib/events/events.enums'; import { default as AbstractPassport } from '../../utils/classes/passport.abstract'; import { TPassportConfig, TPassportConstructor, TUser, TToastMessageOpts, TSuiNetwork, TPassortSuiExtension } from '../../utils/types'; import { passportAuth, passportInit, passportBlockchain, passportUser, passportEvents, passportAirdrop, passportCommon } from './passport/index'; export declare class Passport implements AbstractPassport { static version: string; static suiNetworks: typeof SuiNetworks; static pages: typeof Pages; static paymentTypes: typeof TransactionTypes; static themes: typeof Themes; static navDirections: typeof NavDirections; static navMinimizationTogglerPositions: typeof NavMinimizationTogglerPositions; static scanTypes: typeof ScanTypes; static events: typeof PassportEvents; accessToken: string | null; config: TPassportConfig; isLoggedIn: boolean; user: TUser | null; suiNetwork: TSuiNetwork; suiPackage: string; networkType: NetworkTypes.MAINNET | NetworkTypes.TESTNET; constructor(opts: TPassportConstructor); login: typeof passportAuth.login; setAccessToken: typeof passportAuth.setAccessToken; logout: typeof passportAuth.logout; openUI: (page?: import('../../utils/types').TPage, pageOpts?: unknown) => Promise; close: () => void; toastAlert: (message: string, type?: "success" | "warning" | "failure" | "info", opts?: TToastMessageOpts) => void; destroy: () => Promise; hideNavigation: () => void; showNavigation: (styles?: {}, navConfig?: import('../../utils/types').TNavConfig) => Promise; configurePassport: typeof passportInit.configurePassport; init: typeof passportInit.init; checkMembership: typeof passportBlockchain.checkMembership; sendTokens: typeof passportBlockchain.sendTokens; getAddress: typeof passportBlockchain.getAddress; sendNft: typeof passportBlockchain.sendNft; switchChain: typeof passportBlockchain.switchChain; getBalance: (userAddess?: string) => Promise; getSuiClient: () => SuiClient; getUserCollectionAssetsWithBalances: (packageId: string, userAddess?: string) => Promise<{ [assetId: string]: number; }>; requestAirDropCoin: typeof passportAirdrop.requestAirDropCoin; requestAirDropAsset: typeof passportAirdrop.requestAirDropAsset; updateProfile: typeof passportUser.updateProfile; confirmAccount: typeof passportUser.confirmAccount; deleteAccount: () => Promise; getUser: () => Promise; friends: { getFriendsPaginated: (params?: import('../../utils/types').TGetFriendsPaginatedParams) => Promise; sendFriendRequest: (targetSub: string, clientId?: string) => Promise; acceptFriendRequest: (friendshipId: string) => Promise; blockUser: (targetSub: string, clientId?: string) => Promise; unblockUser: (targetSub: string, clientId?: string) => Promise; removeFriend: (targetSub: string, clientId?: string) => Promise; getFriendInfo: (targetSub: string, params?: import('../../utils/types').TGetFriendInfoParams) => Promise; }; requestLoyaltyPoints: typeof passportCommon.requestLoyaltyPoints; on: typeof passportEvents.on; once: typeof passportEvents.once; } export interface Passport { }