/**
 * 错误码定义
 * 提供统一的错误码和错误信息映射
 */
/**
 * 错误码枚举
 */
export declare enum ErrorCode {
    CONTAINER_NOT_FOUND = 1001,
    STARTUP_FAILED = 1002,
    INITIALIZATION_FAILED = 1003,
    CONFIG_LOAD_FAILED = 2001,
    CONFIG_VALIDATION_FAILED = 2002,
    CONFIG_FILE_NOT_FOUND = 2003,
    PLUGIN_REGISTER_FAILED = 3001,
    PLUGIN_EXECUTION_FAILED = 3002,
    PLUGIN_PERMISSION_DENIED = 3003,
    STATE_MANAGER_NOT_INITIALIZED = 4001,
    STATE_INSTANCE_NOT_FOUND = 4002,
    STATE_SCOPE_NOT_FOUND = 4003,
    STORAGE_INITIALIZATION_FAILED = 5001,
    STORAGE_OPERATION_FAILED = 5002,
    NETWORK_ERROR = 6001,
    NETWORK_TIMEOUT = 6002,
    UNKNOWN_ERROR = 9999
}
/**
 * 错误信息映射
 */
export declare const ErrorMessages: Record<ErrorCode, string>;
/**
 * 获取错误信息
 *
 * @param code - 错误码
 * @returns 错误信息
 */
export declare function getErrorMessage(code: ErrorCode): string;
/**
 * 获取用户友好的错误提示
 *
 * @param code - 错误码
 * @param details - 详细信息
 * @returns 用户友好的错误提示
 */
export declare function getUserFriendlyMessage(code: ErrorCode, details?: string): string;
//# sourceMappingURL=ErrorCodes.d.ts.map