/*! * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Alfresco Example Content Application * * This file is part of the Alfresco Example Content Application. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the following open source license terms: * * The Alfresco Example Content Application is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Alfresco Example Content Application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * from Hyland Software. If not, see . */ import { ElementRef, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { PageComponent, ContentApiService } from '@alfresco/aca-shared'; import { ClipboardService, ThumbnailService, UnsavedChangesGuard } from '@alfresco/adf-core'; import { Node } from '@alfresco/js-api'; import { TranslateService } from '@ngx-translate/core'; import { Observable } from 'rxjs'; import { ModalAiService } from '../../../../services/modal-ai.service'; import { ViewerService } from '@alfresco/aca-content/viewer'; import * as i0 from "@angular/core"; export declare class SearchAiResultsComponent extends PageComponent implements OnInit { private readonly route; private readonly clipboardService; private readonly thumbnailService; private readonly translateService; private readonly unsavedChangesGuard; private readonly modalAiService; private readonly viewerService; private readonly elementRef; private readonly contentApi; private static readonly MERMAID_BLOCK_REGEX; private static readonly LATEX_BLOCK_REGEX; references$: Observable; private _agentId; private _hasAnsweringError; private _hasError; private _loading; private _mimeTypeIconsByNodeId; private openedViewer; private _selectedNodesState; private _searchQuery; private queryAnswer; private _displayedAnswer; private _hasReferencesLoadingError; private _referencesLoading; get agentId(): string; get hasAnsweringError(): boolean; get hasError(): boolean; get loading(): boolean; get mimeTypeIconsByNodeId(): { [key: string]: string; }; get searchQuery(): string; get displayedAnswer(): string; get hasReferencesLoadingError(): boolean; constructor(route: ActivatedRoute, clipboardService: ClipboardService, thumbnailService: ThumbnailService, translateService: TranslateService, unsavedChangesGuard: UnsavedChangesGuard, modalAiService: ModalAiService, viewerService: ViewerService, elementRef: ElementRef, contentApi: ContentApiService); ngOnInit(): void; copyResponseToClipboard(): void; checkUnsavedChangesAndSearch(): void; performAiSearch(): void; openFile(id: string): void; addSourceCodeTooltips(): void; loadReferences(): void; private setTooltip; private aiSearchRetryDelay; private preprocessMarkdownFormat; private transformMermaid; private transformLatex; private fetchReferences; private updateNodes; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }