import { AfterContentInit, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; export declare class KnowledgeOwlWidget implements OnInit, AfterContentInit { private projectURL; /** Flag to check initial page location updated */ isPageLocationUpdated: boolean; /** Product key to access KnowledgeOwl widget. */ projectKey: string; /** Current page location for widget context. */ private _pageLocation; set pageLocation(value: string); get pageLocation(): string; constructor(projectURL: string); ngOnInit(): void; ngAfterContentInit(): void; /** Opens the widget. */ open(article?: string): void; /** * Validates the widget's inputs. * * @private */ protected _validateWidgetInputs(): void; /** * Private methods */ /** * Throws an error if the productKey input is missing. * * @private */ private _validateProductKey; /** * Throws an error if the productURL input is missing. * * @private */ private _validateProductURL; /** * Initializes the widget. * * @private */ private _initWidget; /** * Loads script into page * * @private */ private _loadScript; /** * Init page location first time */ private _initPageLocation; /** * Update page location on change * * @private */ private _updatePageLocation; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }