import { IStorageProvider } from "./storage/storage.interface"; import { AtlassianCallbackPayload, AtlassianCallbackResult, AtlassianInstallContext, AtlassianInstallUrlResult, OAuthTokenContext, ITokenCacheStorage, Integration, PagerDutyCallbackPayload, PagerDutyCallbackResult, PagerDutyInstallContext, PagerDutyInstallUrlResult, SDKInitOptions, SlackCallbackPayload, SlackCallbackResult, SlackInstallContext, SlackInstallUrlResult } from "./types"; export declare class ConnectionManager { private storage; private cacheStorage?; private options; constructor(storage: IStorageProvider, cacheStorage?: ITokenCacheStorage | undefined, options?: SDKInitOptions); resolveConnection(connectionId: string): Promise; createConnection(conn: Integration): Promise; updateConnection(id: string, updates: any): Promise; validateConnection(conn: Integration): Promise; buildInstallUrl(context: AtlassianInstallContext): Promise; handleInstallCallback(payload: AtlassianCallbackPayload): Promise; buildPagerDutyInstallUrl(context: PagerDutyInstallContext): Promise; handlePagerDutyInstallCallback(payload: PagerDutyCallbackPayload): Promise; buildSlackInstallUrl(context: SlackInstallContext): Promise; handleSlackInstallCallback(payload: SlackCallbackPayload): Promise; getValidAccessToken(context: OAuthTokenContext): Promise; invalidateTokens(context: OAuthTokenContext): Promise; private getAtlassianProvider; private getSlackProvider; private getPagerDutyProvider; }