@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
71 lines (70 loc) • 2.09 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, SuggestionsLayoutMode } 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 SUGGESTIONS_LAYOUT_DEFAULT_SETTINGS: SuggestionsLayoutMode;
/**
* @hidden
*/
export type ScrollButtonType = 'prev' | 'next';
/**
* @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;
/**
* @hidden
*/
export declare const transformActions: (actions: MessageAction[]) => any[];