import type { ApplicationService } from '@adonisjs/core/types'; export interface RedactedValue { __redacted: true; display: string; } export interface SanitizedConfig { /** App configuration from `app.config.all()` with secrets redacted. */ config: Record; } export interface SanitizedEnvVars { /** Environment variables from `process.env` with secrets redacted. */ env: Record; } /** * Reads and sanitizes application configuration and environment variables. * * Designed for the full-page dashboard's Config section. * Automatically redacts values whose keys match sensitive patterns. */ export declare class ConfigInspector { private app; private cachedConfig; private cachedEnv; private cacheTimestamp; private static readonly CACHE_TTL_MS; constructor(app: ApplicationService); /** * Get the full application config with sensitive values redacted. */ getConfig(): SanitizedConfig; /** * Get environment variables with sensitive values redacted. */ getEnvVars(): SanitizedEnvVars; }