import { CommonNamedArgs, SlackMessageKey } from '../types/types'; import { AppContext } from './AppContext'; export declare function requiredSetting(name: string): string; export declare function nextTick(): Promise; export declare function sleep(ms: number): Promise; export declare function tryJsonParse(text?: string): any; export declare function formatCode(code: string): string; export declare function getLatestMessageKeyForUser(appContext: AppContext, channelId: string, userId: string): Promise; export declare function encodeArgument(value: string): string; export declare function decodeArgument(value: string): string; export declare function getGitHubSlashCommandPayload(text: string, namedArgs?: boolean): CommonNamedArgs;