/** * Galaxy Constants * * Centralized configuration for colors, sizes, and visual parameters. * All values are tuned for optimal visual clarity and performance. */ import type { SensitivityLevel, SecurityTier, AuthLevel, DataOperation } from '../types/index.js'; /** * Sensitivity level colors (hex) * Designed for dark background with high contrast */ export declare const SENSITIVITY_COLORS: Record; /** * Sensitivity level emissive intensity (glow strength) */ export declare const SENSITIVITY_EMISSIVE: Record; /** * Security tier colors */ export declare const SECURITY_TIER_COLORS: Record; /** * Authentication level colors for entry points */ export declare const AUTH_LEVEL_COLORS: Record; /** * Data operation colors for paths */ export declare const OPERATION_COLORS: Record; /** * Table (planet) size configuration */ export declare const TABLE_SIZE: { /** Minimum radius */ readonly MIN_RADIUS: 0.5; /** Maximum radius */ readonly MAX_RADIUS: 3; /** Base radius for average tables */ readonly BASE_RADIUS: 1; /** Scale factor for row count */ readonly ROW_COUNT_SCALE: 0.0001; /** Scale factor for access frequency */ readonly ACCESS_SCALE: 0.01; }; /** * Field (moon) size configuration */ export declare const FIELD_SIZE: { /** Base radius */ readonly RADIUS: 0.15; /** Orbit radius from parent table */ readonly ORBIT_RADIUS: 2; /** Orbit speed (radians per second) */ readonly ORBIT_SPEED: 0.5; /** Sensitive field scale multiplier */ readonly SENSITIVE_SCALE: 1.5; }; /** * Entry point (space station) size configuration */ export declare const ENTRY_POINT_SIZE: { /** Base scale */ readonly SCALE: 0.8; /** Distance from galaxy center */ readonly ORBIT_RADIUS: 50; /** Height variation */ readonly HEIGHT_VARIANCE: 10; }; /** * Data path (hyperspace lane) configuration */ export declare const PATH_CONFIG: { /** Base line width */ readonly BASE_WIDTH: 0.05; /** Max line width */ readonly MAX_WIDTH: 0.3; /** Curve segments */ readonly CURVE_SEGMENTS: 50; /** Animation speed */ readonly FLOW_SPEED: 2; /** Dash size */ readonly DASH_SIZE: 0.5; /** Gap size */ readonly GAP_SIZE: 0.3; }; /** * Galaxy layout configuration */ export declare const GALAXY_LAYOUT: { /** Galaxy radius */ readonly RADIUS: 40; /** Vertical spread */ readonly HEIGHT: 15; /** Cluster separation */ readonly CLUSTER_SEPARATION: 20; /** Minimum distance between tables */ readonly MIN_TABLE_DISTANCE: 5; /** Force simulation iterations */ readonly SIMULATION_ITERATIONS: 300; /** Force strength */ readonly FORCE_STRENGTH: -30; /** Link distance */ readonly LINK_DISTANCE: 10; }; /** * Camera configuration */ export declare const CAMERA_CONFIG: { /** Default position */ readonly DEFAULT_POSITION: { readonly x: 0; readonly y: 30; readonly z: 60; }; /** Default target */ readonly DEFAULT_TARGET: { readonly x: 0; readonly y: 0; readonly z: 0; }; /** Field of view */ readonly FOV: 60; /** Near clipping plane */ readonly NEAR: 0.1; /** Far clipping plane */ readonly FAR: 1000; /** Zoom limits */ readonly MIN_ZOOM: 0.5; readonly MAX_ZOOM: 5; /** Pan limits */ readonly PAN_LIMIT: 100; /** Rotation speed */ readonly ROTATION_SPEED: 0.5; /** Zoom speed */ readonly ZOOM_SPEED: 1.2; /** Animation duration (ms) */ readonly ANIMATION_DURATION: 1000; }; /** * Bloom effect configuration */ export declare const BLOOM_CONFIG: { /** Intensity */ readonly INTENSITY: 1.5; /** Luminance threshold */ readonly LUMINANCE_THRESHOLD: 0.2; /** Luminance smoothing */ readonly LUMINANCE_SMOOTHING: 0.9; /** Blur passes */ readonly BLUR_PASSES: 5; }; /** * Particle effect configuration */ export declare const PARTICLE_CONFIG: { /** Star field count */ readonly STAR_COUNT: 5000; /** Star size */ readonly STAR_SIZE: 0.1; /** Access pulse duration (ms) */ readonly PULSE_DURATION: 500; /** Trail length */ readonly TRAIL_LENGTH: 20; }; /** * Animation configuration */ export declare const ANIMATION_CONFIG: { /** Hover scale */ readonly HOVER_SCALE: 1.2; /** Selection scale */ readonly SELECTION_SCALE: 1.3; /** Pulse frequency (Hz) */ readonly PULSE_FREQUENCY: 2; /** Rotation speed for idle animation */ readonly IDLE_ROTATION: 0.001; /** Transition duration (ms) */ readonly TRANSITION_DURATION: 300; }; /** * Tooltip configuration */ export declare const TOOLTIP_CONFIG: { /** Offset from cursor */ readonly OFFSET: { readonly x: 15; readonly y: 15; }; /** Show delay (ms) */ readonly SHOW_DELAY: 200; /** Hide delay (ms) */ readonly HIDE_DELAY: 100; /** Max width */ readonly MAX_WIDTH: 300; }; /** * Label configuration */ export declare const LABEL_CONFIG: { /** Font size */ readonly FONT_SIZE: 12; /** Font family */ readonly FONT_FAMILY: "Inter, system-ui, sans-serif"; /** Background opacity */ readonly BG_OPACITY: 0.8; /** Padding */ readonly PADDING: 4; /** Distance from node */ readonly OFFSET: 0.5; /** Fade distance */ readonly FADE_DISTANCE: 30; }; /** * Performance thresholds */ export declare const PERFORMANCE_CONFIG: { /** Max visible tables before LOD kicks in */ readonly MAX_DETAILED_TABLES: 50; /** Max visible paths before simplification */ readonly MAX_DETAILED_PATHS: 200; /** Max visible fields */ readonly MAX_VISIBLE_FIELDS: 500; /** Frame rate target */ readonly TARGET_FPS: 60; /** Frustum culling margin */ readonly CULLING_MARGIN: 1.5; /** LOD distance thresholds */ readonly LOD_DISTANCES: readonly [20, 50, 100]; }; /** * Common domain clusters for auto-grouping tables */ export declare const DOMAIN_CLUSTERS: { readonly auth: readonly ["users", "accounts", "sessions", "tokens", "permissions", "roles"]; readonly commerce: readonly ["orders", "products", "carts", "payments", "invoices", "subscriptions"]; readonly content: readonly ["posts", "comments", "media", "files", "documents", "attachments"]; readonly messaging: readonly ["messages", "notifications", "emails", "chats", "threads"]; readonly analytics: readonly ["events", "logs", "metrics", "analytics", "tracking"]; readonly config: readonly ["settings", "preferences", "configurations", "features", "flags"]; }; /** * Cluster colors */ export declare const CLUSTER_COLORS: Record; //# sourceMappingURL=index.d.ts.map