import { IStorageProvider } from "../storage/storage.interface"; import { ITokenCacheStorage, Integration, SlackCallbackPayload, SlackCallbackResult, SlackInstallContext, SlackInstallUrlResult, SlackSDKOptions } from "../types"; export declare class SlackProvider { private storage; private cacheStorage; private options; constructor(storage: IStorageProvider, cacheStorage: ITokenCacheStorage | undefined, options: SlackSDKOptions | undefined); buildInstallUrl(context: SlackInstallContext): Promise; handleInstallCallback(payload: SlackCallbackPayload): Promise; getValidAccessToken(conn: Integration): Promise; invalidateTokens(conn: Integration): Promise; resolve(conn: Integration): Promise; private getRequiredOptions; private getOAuthStrategy; private getOAuthAdapter; private primeAccessTokenCache; private getTtlSeconds; private exchangeAuthorizationCode; private fetchTeamInfo; }