UNPKG

@progress/kendo-angular-conversational-ui

Version:

Kendo UI for Angular Conversational UI components

37 lines (36 loc) 1.97 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Subject } from 'rxjs'; import { AIPromptComponent } from '../aiprompt.component'; import { PromptCommand, PromptOutput, CommandExecuteEvent, PromptRequestEvent, OutputRatingChangeEvent } from '../models'; import { AIPromptOutputTemplateDirective } from '../templates/aiprompt-output-template.directive'; import { AIPromptOutputBodyTemplateDirective } from '../templates/aiprompt-output-body-template.directive'; import { TextAreaSettings } from '@progress/kendo-angular-inputs'; import { SpeechToTextButtonSettings } from '@progress/kendo-angular-buttons'; import * as i0 from "@angular/core"; /** * @hidden */ export declare class AIPromptService { aiPrompt: AIPromptComponent; promptValue: string; showOutputRating: boolean; requestEvent: Subject<PromptRequestEvent>; executeEvent: Subject<CommandExecuteEvent>; outputCopyEvent: Subject<PromptOutput>; outputRatingChangeEvent: Subject<OutputRatingChangeEvent>; promptCommands: Array<PromptCommand>; promptOutputs: Array<PromptOutput>; promptSuggestions: Array<string>; textAreaSettings: TextAreaSettings; outputTemplate: AIPromptOutputTemplateDirective; outputBodyTemplate: AIPromptOutputBodyTemplateDirective; private _speechToTextButton; get speechToTextButton(): SpeechToTextButtonSettings; set speechToTextButton(settings: boolean | SpeechToTextButtonSettings); getFlattenPromptCommands(commands?: Array<PromptCommand>): Array<PromptCommand>; static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AIPromptService>; }