import { OnDestroy, OnInit } from "@angular/core";
import { LoggingService, LogMessage } from "ionic-logging-service";
import { LoggingViewerFilterService } from "../logging-viewer-filter.service";
import * as i0 from "@angular/core";
/**
 * Component for displaying the current logs.
 *
 * The component can be embedded in any web page using:
 *
 * &lt;ionic-logging-viewer>&lt;/ionic-logging-viewer>
 */
export declare class LoggingViewerComponent implements OnInit, OnDestroy {
    private loggingService;
    private loggingViewerFilterService;
    /**
     * Comma-separated list of localStorageKeys. If set, the logs get loaded from localStorage instead of memory.
     */
    localStorageKeys: string;
    /**
     * Log messages which fulfill the filter condition.
     */
    logMessagesForDisplay: LogMessage[];
    private logger;
    private logMessages;
    private logMessagesChangedSubscription;
    private filterChangedSubscription;
    /**
     * Creates a new instance of the component.
     */
    constructor(loggingService: LoggingService, loggingViewerFilterService: LoggingViewerFilterService);
    /**
     * Initialize the component.
     *
     * This is done by reading the filter data from [LoggingViewerFilterService](LoggingViewerFilterService.html)
     * and the log messages from [LoggingService](../../../ionic-logging-service/typedoc/index.html).
     * If the localStorageKeys property is set, the messages are read from local storage.
     */
    ngOnInit(): void;
    /**
     * Clean up.
     */
    ngOnDestroy(): void;
    /**
     * Filter the log messages.
     */
    filterLogMessages(): void;
    /**
     * Check if the log message's level fulfills the level condition.
     *
     * @param message the log message to check
     * @returns true if check was successful
     */
    filterLogMessagesByLevel(message: LogMessage): boolean;
    /**
     * Check if the log message fulfills the search condition.
     *
     * The search value gets searched in:
     * - logger name
     * - method name
     * - message
     *
     * @param message the log message to check
     * @returns true if check was successful
     */
    filterLogMessagesBySearch(message: LogMessage): boolean;
    /**
     * Load the current log messages.
     * For unit test purposes mainly.
     */
    loadLogMessages(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<LoggingViewerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<LoggingViewerComponent, "ionic-logging-viewer", never, { "localStorageKeys": { "alias": "localStorageKeys"; "required": false; }; }, {}, never, never, false, never>;
}
