import type { AnyAction } from 'redux'; import type { Command, CommandArgs, DialogSubmission, IncomingWebhook, IncomingWebhooksWithCount, OAuthApp, OutgoingOAuthConnection, OutgoingWebhook, SubmitDialogResponse } from '@mattermost/types/integrations'; import type { ActionFuncAsync } from 'mattermost-redux/types/actions'; export declare function createIncomingHook(hook: IncomingWebhook): ActionFuncAsync; export declare function getIncomingHook(hookId: string): ActionFuncAsync; export declare function getIncomingHooks(teamId?: string, page?: number, perPage?: number, includeTotalCount?: boolean): ActionFuncAsync; export declare function isIncomingWebhooksWithCount(data: any): data is IncomingWebhooksWithCount; export declare function removeIncomingHook(hookId: string): ActionFuncAsync; export declare function updateIncomingHook(hook: IncomingWebhook): ActionFuncAsync; export declare function createOutgoingHook(hook: OutgoingWebhook): ActionFuncAsync; export declare function getOutgoingHook(hookId: string): ActionFuncAsync; export declare function getOutgoingHooks(channelId?: string, teamId?: string, page?: number, perPage?: number): ActionFuncAsync; export declare function removeOutgoingHook(hookId: string): ActionFuncAsync; export declare function updateOutgoingHook(hook: OutgoingWebhook): ActionFuncAsync; export declare function regenOutgoingHookToken(hookId: string): ActionFuncAsync; export declare function getCommands(teamId: string): ActionFuncAsync; export declare function getAutocompleteCommands(teamId: string, page?: number, perPage?: number): ActionFuncAsync; export declare function getCustomTeamCommands(teamId: string): ActionFuncAsync; export declare function addCommand(command: Command): ActionFuncAsync; export declare function editCommand(command: Command): ActionFuncAsync; export declare function executeCommand(command: string, args: CommandArgs): ActionFuncAsync; export declare function regenCommandToken(id: string): ActionFuncAsync; export declare function deleteCommand(id: string): ActionFuncAsync; export declare function addOAuthApp(app: OAuthApp): ActionFuncAsync; export declare function editOAuthApp(app: OAuthApp): ActionFuncAsync; export declare function getOAuthApps(page?: number, perPage?: number): ActionFuncAsync; export declare function getOutgoingOAuthConnections(teamId: string, page?: number, perPage?: number): ActionFuncAsync; export declare function getOutgoingOAuthConnectionsForAudience(teamId: string, audience: string, page?: number, perPage?: number): ActionFuncAsync; export declare function addOutgoingOAuthConnection(teamId: string, connection: OutgoingOAuthConnection): ActionFuncAsync; export declare function editOutgoingOAuthConnection(teamId: string, connection: OutgoingOAuthConnection): ActionFuncAsync; export declare function getOutgoingOAuthConnection(teamId: string, connectionId: string): ActionFuncAsync; export declare function validateOutgoingOAuthConnection(teamId: string, connection: OutgoingOAuthConnection): ActionFuncAsync; export declare function getAppsOAuthAppIDs(): ActionFuncAsync; export declare function getAppsBotIDs(): ActionFuncAsync; export declare function getOAuthApp(appId: string): ActionFuncAsync; export declare function getAuthorizedOAuthApps(): ActionFuncAsync; export declare function deauthorizeOAuthApp(clientId: string): ActionFuncAsync; export declare function deleteOAuthApp(id: string): ActionFuncAsync; export declare function regenOAuthAppSecret(appId: string): ActionFuncAsync; export declare function deleteOutgoingOAuthConnection(id: string): ActionFuncAsync; export declare function submitInteractiveDialog(submission: DialogSubmission): ActionFuncAsync; export declare function lookupInteractiveDialog(submission: DialogSubmission): ActionFuncAsync<{ items: Array<{ text: string; value: string; }>; }>;