import { Application, ApplicationConfig } from '@loopback/core'; import { AccessControlService, AccountService, AnalyticsService, AssetOwnershipService, AxieRulesService, ClientApplicationService, CommunityService, CommunityWalletService, ConfigService, DiscordBotService, DiscordIntegrationService, DiscordInteractionService, EthereumLoginService, EthereumNftMetadataService, EvmNetworkConfigService, FlowContractsService, FreshdeskService, GmPassService, GuestPassService, JwksService, KudosService, LogSettingsService, MiniappRegistrationService, MiniAppService, NearIndexerService, NearNFTService, NFTMetadataService, OAuth2Service, OrganizationService, PlanService, QRCodeService, RedditService, RoleManagerService, ScopesService, StakingContractsService, TelefrensInvitationService, TelefrensService, TelefrensSubgraphService, TelefrensWaitListService, TelegramPkpService, UnlockProtocolService, UrlSlugService, UserAuthorizationService, VeramoService, WalletManagerService, WebauthnService } from './services/index.js'; export { ApplicationConfig }; /** * Authentication configuration for the Collab.Land SDK */ export type CollabLandAuth = { /** * CollabLand oAuth2 access token */ collabLandOAuth2?: string; /** * CollabLand authenticated encryption token (AE token - a JWT token * encrypted with JWE) */ authenticatedEncryption?: string; /** * Ethereum signature */ ethereum?: string; /** * API key for a client application */ apiKey?: string; }; /** * Collab.Land API client */ export declare class CollabLandClient extends Application { /** * API for Account/User management */ account: AccountService; /** * API for AccessControl (Token-gating) */ accessControl: AccessControlService; /** * API for AssetOwnership */ assetOwnership: AssetOwnershipService; /** * API for Axie rules */ axieRules: AxieRulesService; /** * API for Community management */ community: CommunityService; /** * API for NFTs on NEAR */ nearNFT: NearNFTService; /** * API for NEAR NFT indexer */ nearIndexer: NearIndexerService; /** * API for Role manager */ roleManager: RoleManagerService; /** * API for Discord bot */ discordBot: DiscordBotService; /** * API for Wallet management */ walletManager: WalletManagerService; /** * API for Flow contracts */ flowContracts: FlowContractsService; /** * API for Guest Pass */ guestPass: GuestPassService; /** * API for URL slug */ urlSlug: UrlSlugService; /** * API for Freshdesk */ freshdesk: FreshdeskService; /** * API for Ethereum login */ ethereumLogin: EthereumLoginService; /** * API for Staking contracts */ stakingContracts: StakingContractsService; /** * API for EVM network config */ evmNetworkConfig: EvmNetworkConfigService; /** * API for Reddit */ reddit: RedditService; /** * API for MiniApp */ miniApp: MiniAppService; /** * API for Community wallet */ communityWallet: CommunityWalletService; /** * API for Organization */ organization: OrganizationService; /** * API for Client application */ clientApplication: ClientApplicationService; /** * API for Miniapp registration */ miniAppRegistration: MiniappRegistrationService; /** * API for Discord integration */ discordIntegration: DiscordIntegrationService; /** * API for Discord interaction */ discordInteraction: DiscordInteractionService; /** * API for Kudos */ kudos: KudosService; /** * API for User authorization */ userAuthorization: UserAuthorizationService; /** * API for Config */ config: ConfigService; /** * API for GmPass */ gmPass: GmPassService; /** * API for LogSettings */ logSettings: LogSettingsService; /** * API for Plan */ plan: PlanService; /** * API for Scopes */ scopes: ScopesService; /** * API for UnlockProtocol */ unlockProtocol: UnlockProtocolService; /** * API for Webauthn */ webauthn: WebauthnService; /** * API for Veramo */ veramo: VeramoService; /** * API for QRCode */ qrCode: QRCodeService; /** * API for Ethereum NFT metadata */ ethereumNftMetadata: EthereumNftMetadataService; /** * API for Jwks */ jwks: JwksService; /** * API for NFT metadata */ nftMetadata: NFTMetadataService; /** * API for OAuth2 */ oAuth2: OAuth2Service; /** * API for Analytics */ analytics: AnalyticsService; telefrens: TelefrensService; telefrensInvitation: TelefrensInvitationService; telefrensWaitList: TelefrensWaitListService; telefrensSubgraph: TelefrensSubgraphService; telegramPkp: TelegramPkpService; /** * Create a new CollabLandClient instance * @param auth - Authentication credentials * @param url - Collab.Land API server URL */ constructor(auth: string | CollabLandAuth, url: string); /** * Set up SDK with authentication and URL * @param auth - Authentication credentials * @param url - CollabLand API server URL */ setup(auth: string | CollabLandAuth, url?: string): void; /** * Connect to Collab.Land API server and resolve services */ connect(): Promise; /** * Locate a service instance by name * @param name - Service name * @returns * * @typeParam T - Service type */ getService(name: string): Promise; }