import * as _angular_core from '@angular/core';
import { OnInit, InputSignal } from '@angular/core';
import { IManagedObject } from '@c8y/client';

interface AssetNotes {
    user: string;
    lastUpdated: string;
    htmlContent: string;
}
type AssetNotesConfig = {
    device: Partial<IManagedObject>;
};
declare class AssetNotesWidgetComponent implements OnInit {
    private inventory;
    private appState;
    private alertService;
    private datePipe;
    config: InputSignal<AssetNotesConfig>;
    notes: _angular_core.WritableSignal<AssetNotes>;
    editable: _angular_core.WritableSignal<boolean>;
    isLoading: _angular_core.Signal<boolean>;
    private readonly FRAGMENT;
    ngNonBindableTranslate: _angular_core.Signal<{
        lastUpdated: any;
        user: string;
    }>;
    ngOnInit(): Promise<void>;
    toggleEdit(): void;
    save(): Promise<void>;
    private loadNotes;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<AssetNotesWidgetComponent, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<AssetNotesWidgetComponent, "c8y-asset-notes", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
}

export { AssetNotesWidgetComponent };
export type { AssetNotesConfig };
//# sourceMappingURL=index.d.ts.map
