import { AlBottomSheetComponent, AlBottomSheetHeaderOptions, AlViewHelperComponent } from '@al/ng-generic-components'; import { EventEmitter, OnInit } from '@angular/core'; import { AlNavigationService } from '@al/ng-navigation-components'; import { AlSavedQueryV2 } from '@al/suggestions'; import { ScheduledReportV2 } from '@al/cargo'; import * as i0 from "@angular/core"; interface SavedSearchProperties { id: string; name: string; description: string; tags: string[]; createScheduledSearch: boolean; schedules?: ScheduledReportV2[]; search_request: string; } export declare class AlSavedSearchesFormComponent implements OnInit { private navigation; accountId: string; goToSchedule: EventEmitter; onSuccess: EventEmitter; onError: EventEmitter; onCancel: EventEmitter; headerOptions: AlBottomSheetHeaderOptions; editorOptions: { theme: string; language: string; automaticLayout: boolean; minimap: { enabled: boolean; }; }; alBottomSheet: AlBottomSheetComponent; viewHelper?: AlViewHelperComponent; editor: any; saveSearchID: string; loading: boolean; editMode: boolean; editedSearchQuery?: string; savedSearchProperties: SavedSearchProperties; availableTags: string[]; suggestedTags: string[]; scheduleCadence: string[]; constructor(navigation: AlNavigationService); ngOnInit(): void; /** * Reset the component. */ resetComponent(): void; /** * TODO: This could be improved using reactive forms, this * could be achieve when all controllers implement value accessor. */ validateForm(): void; showErrorMessage(message: string): void; updateSavedSearch(): void; save(): void; cancel(): void; setTitle: (title: string) => void; editModalCollapsed: (properties: AlSavedQueryV2 | SavedSearchProperties) => void; editModal: (properties: AlSavedQueryV2 | SavedSearchProperties) => void; /** * If we ever find who let SavedSearchProperties diverge from AlSavedQueryV2 without using interface extension, please tell them I would like to speak to them. * -- Kevin */ normalize: (properties: AlSavedQueryV2 | SavedSearchProperties) => SavedSearchProperties; openModal(searchRequest: string): void; onMonacoEditorInit(editor: any): void; setAvailableTags: () => Promise; onKeyUpTags(event: KeyboardEvent): void; setSuggestedTags(event: { query: string; }): void; updateSaveButton: () => void; editInSearch: () => void; getErrorMessage(error: any): string; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; } export {};