import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from "@angular/core"; import { UntypedFormGroup } from "@angular/forms"; import { SessionNote } from "@cygnus-reach/session"; import { Subject } from "rxjs"; import { SessionNoteIcons } from "../../models/icon-interfaces"; import { SessionNoteText } from "../../models/text-interfaces"; import * as i0 from "@angular/core"; export declare class SessionNoteComponent implements OnInit, OnDestroy { private ref; get refText(): string; set refText(text: string); _refText: string; /** * The editor to be associated with the note when saved. If not provided, editor will be marked as "Unknown". */ editor?: string; /** * Whether the note should include separate editing and viewing states, switching between the states with edit and save interactions. * Defaults to false. */ includeViewState: boolean; text: SessionNoteText; icons: SessionNoteIcons; /** * Automatically saves the note whenever triggered, including a marker on the editor that the note was autosaved. */ autosave?: Subject; touchedEvent: EventEmitter; saved: EventEmitter; noteForm: UntypedFormGroup; get touched(): boolean; set touched(touched: boolean); _touched: boolean; view: boolean; private destroyed; constructor(ref: ChangeDetectorRef); ngOnInit(): void; ngOnDestroy(): void; edit(): void; save(autosave?: boolean): void; cancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }