@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
59 lines (58 loc) • 1.81 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Message, SendButtonSettings, MessageAction, FileAction } from "../api";
import { ConversationalUIModelFields } from "./models/model-fields";
import { FileSelectSettings } from '@progress/kendo-angular-upload';
import { SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
/**
* @hidden
*/
export declare const closest: (node: any, predicate: any) => any;
/**
* @hidden
*/
export declare const URL_REGEX: RegExp;
/**
* @hidden
*/
export declare const DOWNLOAD_ALL_SELECTOR = ".k-chat-download-button";
/**
* @hidden
*/
export declare const FILE_ACTION_BTN_SELECTOR = ".k-menu-button";
/**
* @hidden
*/
export declare const MENU_ITEM_SELECTOR = ".k-menu-link";
/**
* @hidden
* Default settings for the Speech to Text button.
* These settings can be overridden by the user.
*/
export declare const STB_DEFAULT_SETTINGS: SpeechToTextButtonSettings;
/**
* @hidden
*/
export declare const SEND_BTN_DEFAULT_SETTINGS: SendButtonSettings;
/**
* @hidden
*/
export declare const FILESELECT_DEFAULT_SETTINGS: FileSelectSettings;
/**
* @hidden
*/
export declare const CONTEXT_MENU_ACTIONS: MessageAction[];
/**
* @hidden
*/
export declare const FILE_ACTIONS: FileAction[];
/**
* @hidden
*/
export declare const processMessages: (messages: any[], fields?: ConversationalUIModelFields) => Message[];
/**
* @hidden
*/
export declare const parseMessage: (message: any, fields?: ConversationalUIModelFields) => Message;