import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
import { BaseResourceComponent } from '@memberjunction/ng-shared';
import * as i0 from "@angular/core";
interface SettingRow {
    key: string;
    rawValue: string;
    parsedValue: unknown;
    valueType: 'string' | 'number' | 'boolean' | 'json' | 'empty';
    /** Pretty preview shown in the table cell. */
    preview: string;
    /** Optional secondary metadata shown next to the key. */
    meta?: string;
    updated?: Date | null;
}
type SettingsScope = 'user' | 'instance';
/**
 * Settings Explorer — read-only browser for both `MJ: User Settings` (the
 * current user's per-app key/value bag) and `MJ: Instance Configurations`
 * (instance-level feature flags). Auto-detects JSON values, formats them
 * nicely, supports search + copy.
 */
export declare class SettingsExplorerComponent extends BaseResourceComponent implements OnInit, OnDestroy {
    private cdr;
    Scope: SettingsScope;
    UserRows: SettingRow[];
    InstanceRows: SettingRow[];
    SearchQuery: string;
    Selected: SettingRow | null;
    LastRefreshed: Date;
    Counts: {
        user: number;
        instance: number;
    };
    constructor(cdr: ChangeDetectorRef);
    ngOnInit(): void;
    ngOnDestroy(): void;
    PersistPrefs(): void;
    GetResourceDisplayName(): Promise<string>;
    GetResourceIconClass(): Promise<string>;
    refresh(): void;
    OnScopeChange(scope: SettingsScope): void;
    get FilteredRows(): SettingRow[];
    OnRowClick(row: SettingRow): void;
    OnCopySelected(): Promise<void>;
    get LastRefreshedLabel(): string;
    get FormattedSelected(): string;
    TrackByKey: (_i: number, r: SettingRow) => string;
    private buildInstanceMeta;
    private toRow;
    private summarizeJson;
    static ɵfac: i0.ɵɵFactoryDeclaration<SettingsExplorerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SettingsExplorerComponent, "mj-settings-explorer", never, {}, {}, never, never, false, never>;
}
export {};
//# sourceMappingURL=settings-explorer.component.d.ts.map