import { ViewsOpenArguments } from '@slack/web-api'; import { AppContext } from '../AppContext'; import { SlackInteraction } from './SlackInteraction'; import { SlashCommandPayload, SlackMessageKey, SlackInteractionResponse, CommonNamedArgs } from '../../types/types'; import { ConfigView } from '../../types/configuration'; export declare function payloadToCommand(payload: SlashCommandPayload): { name: string; args: string; }; export declare class SlashCommand extends SlackInteraction { readonly appContext: AppContext; readonly payload: SlashCommandPayload; get userId(): string; get userName(): string; get channelId(): string; get clientPayload(): any; get reactionOnReceived(): boolean; commandMessageKey?: SlackMessageKey; constructor(appContext: AppContext, payload: SlashCommandPayload); process(): Promise; slackOpenView(options: ViewsOpenArguments): void; private processView; private processViewModal; buildViewModal(view: ConfigView, commandPayload: CommonNamedArgs): ViewsOpenArguments; private processViewOther; private buildCallbackId; private buildPrivateMetadata; }