import { OAuthV2AccessResponse } from "slack-web-api-client"; /** * Slack app installation data. */ export interface Installation { app_id: string; is_enterprise_install?: boolean; enterprise_id?: string; team_id?: string; user_id: string; bot_token?: string; bot_user_id?: string; bot_scopes?: string[]; bot_refresh_token?: string; bot_token_expires_at?: number; user_token?: string; user_scopes?: string[]; user_refresh_token?: string; user_token_expires_at?: number; incoming_webhook_url?: string; incoming_webhook_channel_id?: string; incoming_webhook_configuration_url?: string; } /** * Converts a response from oauth.v2.access API endpoint to an installation data. * @param oauthAccess oauth.v2.access API response data * @returns installation data */ export declare function toInstallation(oauthAccess: OAuthV2AccessResponse): Installation; //# sourceMappingURL=installation.d.ts.map