import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { Subscription } from 'rxjs';
import * as i0 from "@angular/core";
export interface Segment {
    key: string;
    value: any;
    type: undefined | string;
    description: string;
    expanded: boolean;
}
export declare class JsonViewerComponent implements OnInit, OnChanges {
    cdr: ChangeDetectorRef;
    json: object | Record<string | number | symbol, unknown>;
    expanded: boolean;
    inspectValue: any;
    ignoredProperties: Array<string | RegExp>;
    ignoredTypes: any[];
    subscriptions: Subscription;
    segments: Segment[];
    constructor(ignoredProperties: Array<string | RegExp | Array<string | RegExp>>, ignoredTypes: Array<any | any[]>, cdr: ChangeDetectorRef);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    cleanObject(obj: any, stack?: any[]): any;
    setInspectValue(json: any): void;
    buildSegments(inspectValue: any): void;
    isExpandable(segment: Segment): boolean;
    toggle(segment: Segment): void;
    private parseKeyValue;
    static ɵfac: i0.ɵɵFactoryDeclaration<JsonViewerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<JsonViewerComponent, "rxap-json-viewer", never, { "json": { "alias": "json"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, true, never>;
}
