import type { ActionDefinition } from '../plugin'; export declare const createPrefixRegExp: (prefix: string) => RegExp; /** * @summary match words prefixed with a specific value * * @param {String} prefix - The prefix used * @param {String} source - The text to analyse * * @returns {String[]} An array of matching strings */ export declare const findWordsByPrefix: (prefix: string, source: string) => any[]; /** * @summary match keys using a prefix and map them to the keys themselves * * @param {String} prefix - The prefix used to indicate a key * @param {String} source - The text to analyse * @param {String} replacement - The string to replace the prefix with * * @returns {String[]} An array of matched keys */ export declare const getSlugsByPrefix: (prefix: string, source: string, replacement?: string) => any[]; export declare const getMessageMetaData: (message: string) => { mentionsUser: any[]; alertsUser: any[]; mentionsGroup: any[]; alertsGroup: any[]; tags: any[]; }; export declare const actionCreateEvent: ActionDefinition;