/**
 * Crewly Constants - Centralized Export
 *
 * This file provides a single import point for all Crewly constants across domains.
 *
 * Usage examples:
 * ```typescript
 * // Cross-domain constants
 * import { CREWLY_CONSTANTS, WEB_CONSTANTS } from '../config';
 *
 * // Backend-specific constants
 * import { BACKEND_CONSTANTS } from '../config';
 *
 * // All constants
 * import * as CONFIG from '../config';
 * ```
 */
import { CREWLY_CONSTANTS, WEB_CONSTANTS, TIMING_CONSTANTS, MESSAGE_CONSTANTS, ENV_CONSTANTS, BACKEND_CONSTANTS, AGENT_IDENTITY_CONSTANTS, MEMORY_CONSTANTS, CONTINUATION_CONSTANTS, VERSION_CHECK_CONSTANTS, MARKETPLACE_CONSTANTS, TEMPLATE_MARKETPLACE_CONSTANTS, PROCESS_EXIT_CODES, SERVER_CONSTANTS, EVENT_DEBOUNCE_MS, type AgentStatus, type WorkingStatus, type AgentRole, type AgentId, type MessageType, type OrchestratorCommand, type HTTPStatusCode } from './constants.js';
export { CREWLY_CONSTANTS, WEB_CONSTANTS, TIMING_CONSTANTS, MESSAGE_CONSTANTS, ENV_CONSTANTS, BACKEND_CONSTANTS, AGENT_IDENTITY_CONSTANTS, MEMORY_CONSTANTS, CONTINUATION_CONSTANTS, VERSION_CHECK_CONSTANTS, MARKETPLACE_CONSTANTS, TEMPLATE_MARKETPLACE_CONSTANTS, PROCESS_EXIT_CODES, SERVER_CONSTANTS, EVENT_DEBOUNCE_MS, type AgentStatus, type WorkingStatus, type AgentRole, type AgentId, type MessageType, type OrchestratorCommand, type HTTPStatusCode, };
/**
 * All cross-domain constants grouped for easy access
 */
export declare const CROSS_DOMAIN_CONSTANTS: {
    readonly CREWLY: {
        readonly SESSIONS: {
            readonly ORCHESTRATOR_NAME: "crewly-orc";
            readonly DEFAULT_TIMEOUT: 120000;
            readonly REGISTRATION_CHECK_INTERVAL: 5000;
            readonly CLAUDE_DETECTION_CACHE_TIMEOUT: 30000;
            readonly DEFAULT_SHELL: "/bin/bash";
        };
        readonly PATHS: {
            readonly CREWLY_HOME: ".crewly";
            readonly TEAMS_FILE: "teams.json";
            readonly PROJECTS_FILE: "projects.json";
            readonly RUNTIME_FILE: "runtime.json";
            readonly SCHEDULED_MESSAGES_FILE: "scheduled-messages.json";
            readonly MESSAGE_DELIVERY_LOGS_FILE: "message-delivery-logs.json";
            readonly CONFIG_DIR: "config";
            readonly PROMPTS_DIR: "prompts";
            readonly TASKS_DIR: "tasks";
            readonly SPECS_DIR: "specs";
            readonly MEMORY_DIR: "memory";
            readonly DOCS_DIR: "docs";
            readonly DOCS_INDEX_FILE: "docs-index.json";
            readonly LOGS_DIR: "logs";
            readonly SESSION_LOGS_DIR: "sessions";
            readonly BUG_REPORTS_DIR: "bug-reports";
            readonly SKILLS_DIR: "skills";
            readonly SKILLS_CATALOG_FILE: "AGENT_SKILLS_CATALOG.md";
        };
        readonly AGENT_STATUSES: {
            readonly INACTIVE: "inactive";
            readonly STARTING: "starting";
            readonly STARTED: "started";
            readonly ACTIVE: "active";
            readonly SUSPENDED: "suspended";
            readonly ACTIVATING: "activating";
        };
        readonly WORKING_STATUSES: {
            readonly IDLE: "idle";
            readonly IN_PROGRESS: "in_progress";
        };
        readonly ROLES: {
            readonly ORCHESTRATOR: "orchestrator";
            readonly PROJECT_MANAGER: "pm";
            readonly TECH_LEAD: "tpm";
            readonly DEVELOPER: "developer";
            readonly QA: "qa";
            readonly DEVOPS: "devops";
        };
        readonly AGENT_IDS: {
            readonly ORCHESTRATOR_ID: "orchestrator";
        };
        readonly ROLE_DISPLAY_NAMES: {
            readonly orchestrator: "Orchestrator";
            readonly pm: "Project Manager";
            readonly tpm: "Technical Project Manager";
            readonly developer: "Developer";
            readonly qa: "Quality Assurance";
            readonly devops: "DevOps Engineer";
        };
        readonly ORCHESTRATOR: {
            readonly DISPLAY_NAME: "Orchestrator";
            readonly WINDOW_NAME: "Crewly Orchestrator";
            readonly SESSION_PREFIX: "crewly_";
        };
    };
    readonly WEB: {
        readonly PORTS: {
            readonly BACKEND: 8787;
            readonly FRONTEND: 8788;
        };
        readonly ENDPOINTS: {
            readonly HEALTH: "/health";
            readonly API_BASE: "/api";
            readonly TEAMS: "/api/teams";
            readonly PROJECTS: "/api/projects";
            readonly ORCHESTRATOR: "/api/orchestrator";
            readonly TERMINAL: "/api/terminal";
            readonly TASKS: "/api/tasks";
            readonly FACTORY_SSE: "/api/factory/sse";
        };
        readonly SSE: {
            readonly POLL_INTERVAL: 3000;
            readonly HEARTBEAT_INTERVAL: 30000;
            readonly MAX_RECONNECT_ATTEMPTS: 5;
            readonly BASE_RECONNECT_DELAY: 1000;
            readonly MAX_RECONNECT_DELAY: 30000;
            readonly FALLBACK_POLL_INTERVAL: 5000;
        };
    };
    readonly TIMING: {
        readonly RETRIES: {
            readonly MAX_ATTEMPTS: 3;
            readonly BASE_DELAY: 1000;
            readonly MAX_DELAY: 10000;
        };
        readonly INTERVALS: {
            readonly HEALTH_CHECK: 30000;
            readonly MEMORY_CLEANUP: number;
            readonly STATUS_UPDATE: 10000;
            readonly ACTIVITY_MONITOR: 15000;
            readonly CLEANUP: 60000;
            readonly BATCH_DELAY: 500;
            readonly RATE_LIMIT_WINDOW: 1000;
            readonly TASK_CLEANUP: 300000;
        };
        readonly TIMEOUTS: {
            readonly CLAUDE_INIT: 45000;
            readonly AGENT_SETUP: 90000;
            readonly TASK_COMPLETION: number;
            readonly WEBSOCKET: 30000;
            readonly ORCHESTRATOR_SETUP: 30000;
            readonly TASK_MONITOR_POLL: 2000;
            readonly HEALTH_CHECK_TIMEOUT: 1000;
            readonly HTTP_HEALTH_CHECK: 3000;
            readonly API_REQUEST_QUICK: 2000;
            readonly SHUTDOWN: 2000;
            readonly CONNECTION: 10000;
            readonly AGENT_DEFAULT: 300000;
            readonly CONTEXT_REFRESH: 1800000;
            readonly WS_PING: 60000;
            readonly WS_PING_INTERVAL: 25000;
            readonly BACKUP: 3600000;
            readonly RATE_LIMIT_WINDOW: 900000;
            readonly COMMAND_TIMESTAMP_OFFSET: 300000;
            readonly COMMAND_TIMESTAMP_OFFSET_LONG: 600000;
        };
    };
    readonly MESSAGES: {
        readonly LIMITS: {
            readonly CHUNK_SIZE: 1500;
            readonly SMALL_CHUNK_SIZE: 200;
            readonly MAX_BUFFER_SIZE: 100;
        };
        readonly TYPES: {
            readonly SYSTEM: "system";
            readonly USER: "user";
            readonly AGENT: "agent";
            readonly ERROR: "error";
            readonly BROADCAST: "broadcast";
        };
    };
    readonly ENV: {
        readonly CREWLY_SESSION_NAME: "CREWLY_SESSION_NAME";
        readonly CREWLY_ROLE: "CREWLY_ROLE";
        readonly API_PORT: "API_PORT";
        readonly MCP_PORT: "CREWLY_MCP_PORT";
        readonly PROJECT_PATH: "PROJECT_PATH";
        readonly AGENT_ROLE: "AGENT_ROLE";
        readonly NODE_ENV: "NODE_ENV";
        readonly DEV_MODE: "DEV_MODE";
    };
    readonly BACKEND: {
        readonly FILES: {
            readonly ACTIVE_PROJECTS_FILE: "active_projects.json";
            readonly TASK_TRACKING_FILE: "in_progress_tasks.json";
            readonly COMMUNICATION_LOG_FILE: "communication.log";
            readonly CONFIG_FILE_NAMES: {
                readonly CONFIG_JSON: "config.json";
                readonly APP_JSON: "app.json";
            };
            readonly LOG_FILE_PREFIX: "crewly-";
            readonly LOG_FILE_EXTENSION: ".log";
        };
        readonly ADDITIONAL_DIRS: {
            readonly LOGS: "logs";
            readonly DATA: "data";
        };
        readonly NETWORK: {
            readonly DEFAULT_CORS_ORIGIN: "http://localhost:8788";
            readonly ALLOWED_HTTP_METHODS: readonly ["GET", "POST"];
            readonly HTTP_STATUS_CODES: {
                readonly OK: 200;
                readonly CREATED: 201;
                readonly BAD_REQUEST: 400;
                readonly NOT_FOUND: 404;
                readonly INTERNAL_SERVER_ERROR: 500;
                readonly SERVICE_UNAVAILABLE: 503;
            };
            readonly MAX_REQUEST_BODY_SIZE: "10mb";
        };
        readonly API_ENDPOINTS: {
            readonly ORCHESTRATOR_SETUP: "/api/orchestrator/setup";
            readonly TEAMS: "/api/teams";
            readonly TEAM_START: "/api/teams/:id/start";
            readonly HEALTH: "/health";
            readonly API_BASE: "/api";
            readonly PROJECTS: "/projects";
            readonly MONITORING: "/monitoring";
            readonly SYSTEM: "/system";
        };
        readonly ORCHESTRATOR_COMMANDS: {
            readonly GET_TEAM_STATUS: "get_team_status";
            readonly LIST_PROJECTS: "list_projects";
            readonly LIST_SESSIONS: "list_sessions";
            readonly BROADCAST: "broadcast";
            readonly HELP: "help";
        };
        readonly SESSION_COMMANDS: {
            readonly LIST_SESSIONS: "";
        };
        readonly SPECIAL_KEYS: {
            readonly ENTER: "Enter";
            readonly CTRL_C: "C-c";
        };
        readonly INIT_SCRIPTS: {
            readonly CLAUDE: "initialize_claude.sh";
        };
        readonly LIMITS: {
            readonly MAX_CONTEXT_FILE_SIZE_BYTES: 1048576;
            readonly DEFAULT_LOG_LIMIT: 100;
            readonly MAX_CONCURRENT_MONITORING_JOBS: 10;
            readonly DEFAULT_LOG_FILE_SIZE: "10m";
        };
        readonly FRONTEND_DIST_PATH: "../../frontend/dist";
        readonly ADDITIONAL_ENV_VARS: {
            readonly WEB_PORT: "WEB_PORT";
            readonly DEFAULT_CHECK_INTERVAL: "DEFAULT_CHECK_INTERVAL";
            readonly AUTO_COMMIT_INTERVAL: "AUTO_COMMIT_INTERVAL";
            readonly CREWLY_HOME: "CREWLY_HOME";
        };
        readonly ORCHESTRATOR_HELP_TEXT: string;
    };
    readonly AGENT_IDENTITY: {
        readonly ORCHESTRATOR: {
            readonly ID: "orchestrator";
            readonly SESSION_NAME: "crewly-orc";
            readonly ROLE: "orchestrator";
        };
    };
    readonly MEMORY: {
        readonly PATHS: {
            readonly AGENTS_DIR: "agents";
            readonly KNOWLEDGE_DIR: "knowledge";
            readonly SESSIONS_DIR: "sessions";
            readonly LATEST_SUMMARY: "latest-summary.md";
            readonly DAILY_LOG_DIR: "logs/daily";
            readonly GOALS_DIR: "goals";
            readonly GOALS_FILE: "goals.md";
            readonly FOCUS_FILE: "current_focus.md";
            readonly DECISIONS_LOG: "decisions_log.md";
            readonly LEARNING_DIR: "learning";
            readonly WHAT_WORKED_FILE: "what_worked.md";
            readonly WHAT_FAILED_FILE: "what_failed.md";
            readonly GLOBAL_LEARNING_DIR: "learning";
            readonly CROSS_PROJECT_INSIGHTS: "cross_project_insights.md";
            readonly AGENTS_INDEX: "agents-index.json";
        };
        readonly AGENT_FILES: {
            readonly MEMORY: "memory.json";
            readonly ROLE_KNOWLEDGE: "role-knowledge.json";
            readonly PREFERENCES: "preferences.json";
            readonly PERFORMANCE: "performance.json";
            readonly SOP_CUSTOM_DIR: "sop-custom";
        };
        readonly PROJECT_FILES: {
            readonly INDEX: "index.json";
            readonly PATTERNS: "patterns.json";
            readonly DECISIONS: "decisions.json";
            readonly GOTCHAS: "gotchas.json";
            readonly RELATIONSHIPS: "relationships.json";
            readonly TASK_HISTORY: "task-history.json";
            readonly LEARNINGS: "learnings.md";
        };
        readonly LIMITS: {
            readonly MAX_ROLE_KNOWLEDGE_ENTRIES: 500;
            readonly MAX_PATTERN_ENTRIES: 200;
            readonly MAX_DECISION_ENTRIES: 100;
            readonly MAX_GOTCHA_ENTRIES: 200;
            readonly MAX_RELATIONSHIP_ENTRIES: 500;
            readonly MAX_FILE_SIZE_BYTES: 1048576;
            readonly MAX_QUERY_RESULTS: 50;
            readonly MIN_CONFIDENCE_THRESHOLD: 0.2;
            readonly PRUNE_AFTER_DAYS: 90;
        };
        readonly DEFAULTS: {
            readonly INITIAL_CONFIDENCE: 0.5;
            readonly CONFIDENCE_REINFORCEMENT: 0.1;
            readonly MAX_CONFIDENCE: 1;
            readonly MIN_CONFIDENCE: 0;
        };
        readonly SCHEMA: {
            readonly CURRENT_VERSION: 1;
            readonly MIN_SUPPORTED_VERSION: 1;
        };
        readonly CATEGORIES: {
            readonly ROLE_KNOWLEDGE: readonly ["best-practice", "anti-pattern", "tool-usage", "workflow"];
            readonly PATTERN: readonly ["api", "component", "service", "testing", "styling", "database", "config", "other"];
            readonly GOTCHA_SEVERITY: readonly ["low", "medium", "high", "critical"];
            readonly LEARNING: readonly ["pattern", "decision", "gotcha", "insight", "improvement"];
            readonly RELATIONSHIP: readonly ["depends-on", "uses", "extends", "implements", "calls", "imported-by"];
        };
    };
    readonly CONTINUATION: {
        readonly DETECTION: {
            readonly IDLE_CYCLES_BEFORE_CHECK: 2;
            readonly STALE_THRESHOLD_MINUTES: 20;
            readonly ACTIVITY_POLL_INTERVAL_MS: 120000;
        };
        readonly EVENTS: {
            readonly DEBOUNCE_MS: 5000;
            readonly DEDUP_WINDOW_MS: 10000;
            readonly CLEANUP_INTERVAL_MS: 60000;
        };
        readonly ITERATIONS: {
            readonly DEFAULT_MAX: 10;
            readonly ABSOLUTE_MAX: 50;
            readonly WARNING_THRESHOLD: 0.8;
        };
        readonly TIMEOUTS: {
            readonly ANALYSIS_MS: 10000;
            readonly ACTION_MS: 30000;
            readonly PROMPT_INJECTION_MS: 15000;
        };
        readonly PATTERNS: {
            readonly COMPLETION: readonly ["task completed", "task done", "successfully completed", "implementation complete", "all tests pass", "ready for review"];
            readonly WAITING: readonly ["waiting for", "awaiting", "blocked by", "need input", "please provide", "let me know"];
            readonly ERROR: readonly ["error:", "failed:", "exception:", "cannot", "unable to", "permission denied"];
        };
        readonly CONFIDENCE: {
            readonly ACTION_THRESHOLD: 0.6;
            readonly HIGH: 0.8;
            readonly MEDIUM: 0.5;
            readonly LOW: 0.3;
        };
    };
};
//# sourceMappingURL=index.d.ts.map