import { SecurityConfig } from './manager'; export declare enum SecurityLevel { STRICT = "strict",// Maximum security - blocks most function calls BALANCED = "balanced",// Default - allows safe UI interactions PERMISSIVE = "permissive",// Minimal restrictions - allows more operations DEVELOPMENT = "development" } /** * Represents a security profile configuration for controlling access and interactions within the application. * * @property level - The security level applied to the profile. * @property allowUIInteractions - Indicates if UI interactions are permitted. * @property allowDOMQueries - Indicates if DOM queries are allowed. * @property allowPropertyAccess - Indicates if property access is permitted. * @property allowAssignments - Indicates if assignments to properties are allowed. * @property allowFunctionCalls - Whitelist of allowed function patterns for invocation. * @property riskThreshold - The risk threshold level ('low', 'medium', 'high', or 'critical') for the profile. */ export interface SecurityProfile { level: SecurityLevel; allowUIInteractions: boolean; allowDOMQueries: boolean; allowPropertyAccess: boolean; allowAssignments: boolean; allowFunctionCalls: string[]; riskThreshold: 'low' | 'medium' | 'high' | 'critical'; } export declare const SECURITY_PROFILES: Record; export declare function getSecurityConfig(level?: SecurityLevel): Partial; /** * Get the default security level from environment variable or fallback to BALANCED * Environment variable: SECURITY_LEVEL * Valid values: strict, balanced, permissive, development */ export declare function getDefaultSecurityLevel(): SecurityLevel;